WordPress.org

Plugin Directory

Changeset 1396075


Ignore:
Timestamp:
04/15/16 02:24:45 (22 months ago)
Author:
nicholas_io
Message:

Releasing 1.1.1

Location:
multisite-widgets-context
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • multisite-widgets-context/tags/1.1.1/README.md

    r1385399 r1396075  
    1212Requires at least: 4.1 
    1313Tested up to: 4.5 
    14 Stable tag: 1.1.0 
     14Stable tag: 1.1.1 
    1515License: GPLv2 or later 
    1616License URI: http://www.gnu.org/licenses/gpl-2.0.html 
  • multisite-widgets-context/tags/1.1.1/README.txt

    r1385399 r1396075  
    66Requires at least: 4.1 
    77Tested up to: 4.5 
    8 Stable tag: 1.1.0 
     8Stable tag: 1.1.1 
    99License: GPLv2 or later 
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    5353== Changelog == 
    5454 
     55= 1.1.1 = 
     56* Fixing a bug where the selected site context wasn't being persisted in some edge cases 
     57 
     58 
    5559= 1.1.0 = 
    5660* WordPress 4.5 Compatibility 
  • multisite-widgets-context/tags/1.1.1/multisite-widgets-context.php

    r1385399 r1396075  
    66 * Author: nicholas_io 
    77 * Author URI: http://nicholasandre.com.br 
    8  * Version: 1.1.0 
     8 * Version: 1.1.1 
    99 * License: GPLv2 or later 
    1010 * Text Domain: wpmulwc 
     
    1515    exit; // Exit if accessed directly. 
    1616 
    17 define( 'WPMULWC_VERSION', '1.1.0' ); 
     17define( 'WPMULWC_VERSION', '1.1.1' ); 
    1818 
    1919/** 
     
    232232        $site_id    = isset( $instance[ $this->plugin_slug . '-site_id' ] )     ? $instance[ $this->plugin_slug . '-site_id' ] : false; 
    233233        $grabData   = isset( $instance[ $this->plugin_slug . '-grab-data' ] )   ? $instance[ $this->plugin_slug . '-grab-data'] : false; 
    234          
     234 
    235235        if ( empty( $this->blogsID ) ) { 
    236236            $this->blogsID = self::get_blog_ids();   
     
    260260 
    261261                        //XSS ok 
    262                         $selected = ( $blog_id == get_current_blog_id() ) ? 'selected' : ''; 
     262                        $selected = ( $site_id === false && $blog_id == get_current_blog_id() ) ? 'selected' : ''; 
    263263                        $selected = ( $site_id !== false && $blog_id == $site_id ) ? 'selected' : $selected; 
    264264 
  • multisite-widgets-context/trunk/README.md

    r1385399 r1396075  
    1212Requires at least: 4.1 
    1313Tested up to: 4.5 
    14 Stable tag: 1.1.0 
     14Stable tag: 1.1.1 
    1515License: GPLv2 or later 
    1616License URI: http://www.gnu.org/licenses/gpl-2.0.html 
  • multisite-widgets-context/trunk/README.txt

    r1385399 r1396075  
    66Requires at least: 4.1 
    77Tested up to: 4.5 
    8 Stable tag: 1.1.0 
     8Stable tag: 1.1.1 
    99License: GPLv2 or later 
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    5353== Changelog == 
    5454 
     55= 1.1.1 = 
     56* Fixing a bug where the selected site context wasn't being persisted in some edge cases 
     57 
     58 
    5559= 1.1.0 = 
    5660* WordPress 4.5 Compatibility 
  • multisite-widgets-context/trunk/multisite-widgets-context.php

    r1385399 r1396075  
    66 * Author: nicholas_io 
    77 * Author URI: http://nicholasandre.com.br 
    8  * Version: 1.1.0 
     8 * Version: 1.1.1 
    99 * License: GPLv2 or later 
    1010 * Text Domain: wpmulwc 
     
    1515    exit; // Exit if accessed directly. 
    1616 
    17 define( 'WPMULWC_VERSION', '1.1.0' ); 
     17define( 'WPMULWC_VERSION', '1.1.1' ); 
    1818 
    1919/** 
     
    232232        $site_id    = isset( $instance[ $this->plugin_slug . '-site_id' ] )     ? $instance[ $this->plugin_slug . '-site_id' ] : false; 
    233233        $grabData   = isset( $instance[ $this->plugin_slug . '-grab-data' ] )   ? $instance[ $this->plugin_slug . '-grab-data'] : false; 
    234          
     234 
    235235        if ( empty( $this->blogsID ) ) { 
    236236            $this->blogsID = self::get_blog_ids();   
     
    260260 
    261261                        //XSS ok 
    262                         $selected = ( $blog_id == get_current_blog_id() ) ? 'selected' : ''; 
     262                        $selected = ( $site_id === false && $blog_id == get_current_blog_id() ) ? 'selected' : ''; 
    263263                        $selected = ( $site_id !== false && $blog_id == $site_id ) ? 'selected' : $selected; 
    264264 
Note: See TracChangeset for help on using the changeset viewer.