WordPress.org

Plugin Directory

Changeset 1446156


Ignore:
Timestamp:
06/30/16 00:32:29 (18 months ago)
Author:
filkaris
Message:

1.1.6 Fix empty [] arrays. Add switch css

Location:
statistinator
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • statistinator/trunk/inc/class-statistinator-tab-account.php

    r1446027 r1446156  
    2828        $status = get_option( "statistinator_status" ); 
    2929 
    30         $value = get_option( "statistinator_account", [] ); 
     30        $value = get_option( "statistinator_account", array() ); 
    3131        $value = ( _isset( $value[ $slug ] ) ? $value[ $slug ] : '' ); 
    3232 
  • statistinator/trunk/inc/class-statistinator-tab-authentication.php

    r1446080 r1446156  
    3030 
    3131        //No Authentication 
    32         $option = get_option( 'statistinator_authentication', [] ); 
     32        $option = get_option( 'statistinator_authentication', array() ); 
    3333        if ( _isset( $_GET['clear'] ) && $_GET['clear'] == $slug ) { 
    3434            $option[ $slug ] = ''; 
  • statistinator/trunk/inc/class-statistinator.php

    r1446080 r1446156  
    190190    public static function get_data( $force = false ) { 
    191191        // Get db data 
    192         $data = get_option( 'statistinator_data', [] ); 
     192        $data = get_option( 'statistinator_data', array() ); 
    193193 
    194194        // If empty or expired fetch 
  • statistinator/trunk/readme.txt

    r1446080 r1446156  
    44Requires at least: 3.9 
    55Tested up to: 4.5.2 
    6 Stable tag: 1.1.5 
     6Stable tag: 1.1.6 
    77License: GPLv2 or later 
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    5050== Changelog == 
    5151 
     52= 1.1.6 = 
     53* Empty arrays changed from '[]' to 'array()' for compatibility 
     54 
    5255= 1.1.5 =  
    5356* Added fancy toggles in Authentication 
  • statistinator/trunk/statistinator.php

    r1446080 r1446156  
    44 * Description: Your social media analytics in one place. 
    55 * Author: Filippos Karailanidis 
    6  * Version: 1.1.5 
     6 * Version: 1.1.6 
    77 */ 
    88 
Note: See TracChangeset for help on using the changeset viewer.