Plugin Directory

Changeset 1142425


Ignore:
Timestamp:
04/22/2015 05:50:26 PM (10 years ago)
Author:
noticesoftware
Message:

v2.3.2 fix for upgrades

Location:
roost-for-bloggers/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • roost-for-bloggers/trunk/includes/class-roost-core.php

    r1139458 r1142425  
    77class Roost {
    88
    9     public static $roost_version = '2.3.1';
     9    public static $roost_version = '2.3.2';
    1010
    1111    protected static $database_version = 20150331;
     
    7171                'custom_script' => '',
    7272                'chrome_error_dismiss' => false,
    73                 'chrome_setup' => false,
     73                'chrome_setup' => true,
    7474                'gcm_token' => '',
    7575            );
     
    8484        $roost_settings['version'] = self::$roost_version;
    8585        update_option( 'roost_settings', $roost_settings );
     86        if( isset( $roost_settings['chrome_setup'] ) && true === self::roost_active() ) {
     87            self::setup_chrome();
     88        }
    8689        if ( empty( $roost_settings['database_version'] ) || $roost_settings['database_version'] < self::$database_version ) {
    8790            self::update_database( $roost_settings );
     
    123126            $roost_settings['use_custom_script'] = (bool)$roost_settings['use_custom_script'];
    124127            $roost_settings['chrome_error_dismiss'] = false;
    125             $roost_settings['chrome_setup'] = false;
     128            $roost_settings['chrome_setup'] = true;
    126129            $roost_settings['gcm_token'] = '';
    127130            if( true === self::roost_active() ) {
     
    630633        Roost_API::save_remote_settings( $app_key, $app_secret, null, null, $chrome_vars );
    631634
    632         $roost_settings['chrome_setup'] = true;
    633635        $roost_settings['gcm_token'] = $gcm_token;
    634636        update_option('roost_settings', $roost_settings);
     
    638640        $roost_settings = self::roost_settings();
    639641        $roost_settings['chrome_error_dismiss'] = false;
    640         $roost_settings['chrome_setup'] = false;
    641642        $roost_settings['gcm_token'] = '';
    642643        update_option('roost_settings', $roost_settings);
  • roost-for-bloggers/trunk/readme.txt

    r1139458 r1142425  
    44Requires at least: 3.8
    55Tested up to: 4.2
    6 Stable tag: 2.3.1
     6Stable tag: 2.3.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    124124
    125125== Changelog ==
     126= 2.3.2 =
     127* MAJOR - Bugfix - Chrome files not being regenerated after plugin upgrade
     128
    126129= 2.3.1 =
    127130* Changed messaging for HTTPS check to a notice not warning (Was throwing false negatives)
     
    251254
    252255== Upgrade Notice ==
     256= 2.3.2 =
     257* MAJOR - Bugfix - Chrome files not generated on plugin upgrade.
     258
    253259= 2.3.1 =
    254 * Minor UX tweaks - HTTPS check now non-blocking notice not warning.
     260* Minor - UX tweaks - HTTPS check now non-blocking notice not warning.
    255261
    256262= 2.3.0 =
  • roost-for-bloggers/trunk/roost.php

    r1139458 r1142425  
    44 * Plugin URI: https://goroost.com/
    55 * Description: Drive traffic to your website with Roost Notifications -- which includes Chrome and Safari.
    6  * Version: 2.3.1
     6 * Version: 2.3.2
    77 * Author: Roost
    88 * Author URI: https://goroost.com
Note: See TracChangeset for help on using the changeset viewer.