Plugin Directory

Changeset 1558991


Ignore:
Timestamp:
12/21/2016 01:03:39 PM (9 years ago)
Author:
scor2k
Message:

0.3.2

Location:
nxtbridge
Files:
3 edited
15 copied

Legend:

Unmodified
Added
Removed
  • nxtbridge/tags/0.3.2/config.php

    r1558887 r1558991  
    11<?php
     2
     3// global
     4add_action('plugins_loaded', 'nxter_update_version');
    25
    36// admin
     
    112115}
    113116
     117function nxter_update_version() {
     118  global $wpdb;
     119  global $version;
     120
     121  $nxtbridge_version = get_option('NXTBridge_version');
     122  if ( $nxtbridge_version == '' ) {
     123    // old demo version, we need to clean all users settings
     124    $table_name = $wpdb->prefix . "options";
     125    $sql = "DELETE FROM $wpdb->options WHERE `option_name` like 'NXTBridge_%' and `option_name` != 'NXTBridge_settings' ";
     126    $wpdb->query( $sql );
     127    update_option('NXTBridge_version' , $version);
     128  }
     129
     130}
     131
    114132
    115133
  • nxtbridge/tags/0.3.2/nxtbridge.php

    r1558887 r1558991  
    44  Plugin Name: NXTBridge
    55  Plugin URI: http://nxter.org/nxtbridge
    6   Version: 0.3.1
     6  Version: 0.3.2
    77  Author: scor2k
    88  Description: Show Nxt asset information on your Wordpress sites.
     
    1111*/
    1212global $api;
     13$version = '0.3.2'; // NOT FORGET TO CHANGE !!!
    1314
    1415$api = '//api.nxter.org/v1';
  • nxtbridge/tags/0.3.2/readme.txt

    r1558887 r1558991  
    6565
    6666== Upgrade Notice ==
    67 * Just install new version and check plugin settings.
     67* If you do update plugin from version 0.3.1 or earlier all yours settings for NXTBridge plugin will be cleared.
    6868
    6969== Screenshots ==
     
    7171
    7272== Changelog ==
     73
     74= 0.3.2 =
     75* Cleaning users settings (not site settings) for NXTBridge plugin, i.e. account name and agreement.
    7376
    7477= 0.3.1 =
  • nxtbridge/trunk/config.php

    r1558887 r1558991  
    11<?php
     2
     3// global
     4add_action('plugins_loaded', 'nxter_update_version');
    25
    36// admin
     
    112115}
    113116
     117function nxter_update_version() {
     118  global $wpdb;
     119  global $version;
     120
     121  $nxtbridge_version = get_option('NXTBridge_version');
     122  if ( $nxtbridge_version == '' ) {
     123    // old demo version, we need to clean all users settings
     124    $table_name = $wpdb->prefix . "options";
     125    $sql = "DELETE FROM $wpdb->options WHERE `option_name` like 'NXTBridge_%' and `option_name` != 'NXTBridge_settings' ";
     126    $wpdb->query( $sql );
     127    update_option('NXTBridge_version' , $version);
     128  }
     129
     130}
     131
    114132
    115133
  • nxtbridge/trunk/nxtbridge.php

    r1558887 r1558991  
    44  Plugin Name: NXTBridge
    55  Plugin URI: http://nxter.org/nxtbridge
    6   Version: 0.3.1
     6  Version: 0.3.2
    77  Author: scor2k
    88  Description: Show Nxt asset information on your Wordpress sites.
     
    1111*/
    1212global $api;
     13$version = '0.3.2'; // NOT FORGET TO CHANGE !!!
    1314
    1415$api = '//api.nxter.org/v1';
  • nxtbridge/trunk/readme.txt

    r1558887 r1558991  
    6565
    6666== Upgrade Notice ==
    67 * Just install new version and check plugin settings.
     67* If you do update plugin from version 0.3.1 or earlier all yours settings for NXTBridge plugin will be cleared.
    6868
    6969== Screenshots ==
     
    7171
    7272== Changelog ==
     73
     74= 0.3.2 =
     75* Cleaning users settings (not site settings) for NXTBridge plugin, i.e. account name and agreement.
    7376
    7477= 0.3.1 =
Note: See TracChangeset for help on using the changeset viewer.