Plugin Directory

Changeset 1004041


Ignore:
Timestamp:
10/08/2014 06:50:43 PM (11 years ago)
Author:
msalsas
Message:

Fix error with old PHP versions

Location:
dynamic-audio-player-basic/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • dynamic-audio-player-basic/trunk/dynamicplayer.php

    r988111 r1004041  
    44Plugin URI: http://dynamicaudioplayer.com
    55Description: This plugin allows you to add an audio player widget with a dynamic playlist and shortcodes for single buttons
    6 Version: 1.0.2
     6Version: 1.1.0
    77Author: Manolo Salsas Durán
    88Author URI: http://msalsas.com/en/
     
    5151    wp_enqueue_style( 'jscrollpane-stylesheet' );
    5252     
    53     if(isset(get_option( "widget_dynamic-player-widget" )[1]['dynTotalWidth']) && get_option( "widget_dynamic-player-widget" )[1]['dynTotalWidth'] == 'Small')
     53    $dyn_option = get_option( "widget_dynamic-player-widget" );
     54    if(isset($dyn_option[1]['dynTotalWidth']) && get_option( "widget_dynamic-player-widget" )[1]['dynTotalWidth'] == 'Small')
    5455        wp_register_style( 'default-stylesheet', plugins_url('/css/smallPlayer.css', __FILE__) );
    5556   
    56     else if(isset(get_option( "widget_dynamic-player-widget" )[1]['dynTotalWidth']) && get_option( "widget_dynamic-player-widget" )[1]['dynTotalWidth'] == 'Large')
     57    else if(isset($dyn_option[1]['dynTotalWidth']) && get_option( "widget_dynamic-player-widget" )[1]['dynTotalWidth'] == 'Large')
    5758        wp_register_style( 'default-stylesheet', plugins_url('/css/largePlayer.css', __FILE__) );
    5859   
  • dynamic-audio-player-basic/trunk/readme.txt

    r988111 r1004041  
    44Requires at least: 3.0.1
    55Tested up to: 4.0
    6 Stable tag: 1.0.2
     6Stable tag: 1.1.0
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5050== Changelog ==
    5151
    52 = 1.0.0 =
    53 First version
     52= 1.1.0 =
     53Fix error fired when using an older PHP version than 5.4.
     54
     55= 1.0.2 =
     56Fix rate link
    5457
    5558= 1.0.1 =
    5659Fix readme link
    5760
    58 = 1.0.2 =
    59 Fix rate link
     61= 1.0.0 =
     62First version
     63
     64
Note: See TracChangeset for help on using the changeset viewer.