Changeset 615918
- Timestamp:
- 10/23/2012 05:56:31 AM (13 years ago)
- Location:
- schemeable-sliding-panel/trunk
- Files:
-
- 4 added
- 4 deleted
- 10 edited
-
default-schemes/green-meadows.php (modified) (1 diff)
-
default-schemes/images/tab_b-077e05-0a0a0a.png (added)
-
default-schemes/images/tab_b-077e05-58ff40.png (deleted)
-
default-schemes/images/tab_l-077e05-0a0a0a.png (added)
-
default-schemes/images/tab_l-077e05-58ff40.png (deleted)
-
default-schemes/images/tab_m-077e05-0a0a0a.png (added)
-
default-schemes/images/tab_m-077e05-58ff40.png (deleted)
-
default-schemes/images/tab_r-077e05-0a0a0a.png (added)
-
default-schemes/images/tab_r-077e05-58ff40.png (deleted)
-
menu_pages/sliding-panel-options.php (modified) (3 diffs)
-
meta_boxes/need-support.php (modified) (6 diffs)
-
meta_boxes/options.php (modified) (6 diffs)
-
meta_boxes/share-scheme.php (modified) (6 diffs)
-
meta_boxes/spread-the-word.php (modified) (6 diffs)
-
readme.md (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
schemeable-sliding-panel.php (modified) (5 diffs)
-
tabs.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
schemeable-sliding-panel/trunk/default-schemes/green-meadows.php
r615591 r615918 63 63 64 64 '; 65 $scheme['tab_l'] = plugins_url('images/tab_l-077e05- 58ff40.png', __FILE__ );66 $scheme['tab_b'] = plugins_url('images/tab_b-077e05- 58ff40.png', __FILE__ );67 $scheme['tab_r'] = plugins_url('images/tab_r-077e05- 58ff40.png', __FILE__ );68 $scheme['tab_m'] = plugins_url('images/tab_m-077e05- 58ff40.png', __FILE__ );65 $scheme['tab_l'] = plugins_url('images/tab_l-077e05-0a0a0a.png', __FILE__ ); 66 $scheme['tab_b'] = plugins_url('images/tab_b-077e05-0a0a0a.png', __FILE__ ); 67 $scheme['tab_r'] = plugins_url('images/tab_r-077e05-0a0a0a.png', __FILE__ ); 68 $scheme['tab_m'] = plugins_url('images/tab_m-077e05-0a0a0a.png', __FILE__ ); 69 69 $scheme['other_images'] = array( 70 70 plugins_url('images/grass4-300x198.png', __FILE__ ), -
schemeable-sliding-panel/trunk/menu_pages/sliding-panel-options.php
r615591 r615918 4 4 $messages = array() ; 5 5 6 class Schemeable_Sliding_Panel_v1_1 _u_Sliding_Panel_Options {6 class Schemeable_Sliding_Panel_v1_1a_u_Sliding_Panel_Options { 7 7 static function setup() { 8 $var = new Schemeable_Sliding_Panel_v1_1 _u_Sliding_Panel_Options;8 $var = new Schemeable_Sliding_Panel_v1_1a_u_Sliding_Panel_Options; 9 9 $page = add_submenu_page( 'themes.php', 'Sliding Panel Options', 'Sliding Panel Options', 'edit_theme_options', 10 10 'sliding-panel-options', array(&$var, 'render_menu_page') ); … … 46 46 47 47 function get_field_id( $id ) { 48 return 'id_Schemeable_Sliding_Panel_v1_1 _u_Sliding_Panel_Options_' . $id ;48 return 'id_Schemeable_Sliding_Panel_v1_1a_u_Sliding_Panel_Options_' . $id ; 49 49 } 50 50 51 51 function get_field_name( $id ) { 52 return 'name_Schemeable_Sliding_Panel_v1_1 _u_Sliding_Panel_Options_' . $id ;52 return 'name_Schemeable_Sliding_Panel_v1_1a_u_Sliding_Panel_Options_' . $id ; 53 53 } 54 54 … … 3726 3726 } 3727 3727 } 3728 add_action('admin_menu', array('Schemeable_Sliding_Panel_v1_1 _u_Sliding_Panel_Options', 'setup'));3729 3730 ?> 3728 add_action('admin_menu', array('Schemeable_Sliding_Panel_v1_1a_u_Sliding_Panel_Options', 'setup')); 3729 3730 ?> -
schemeable-sliding-panel/trunk/meta_boxes/need-support.php
r615591 r615918 1 1 <?php 2 2 3 class Schemeable_Sliding_Panel_v1_1 _m_Need_Support_ {3 class Schemeable_Sliding_Panel_v1_1a_m_Need_Support_ { 4 4 static function setup() { 5 $var = new Schemeable_Sliding_Panel_v1_1 _m_Need_Support_;5 $var = new Schemeable_Sliding_Panel_v1_1a_m_Need_Support_; 6 6 add_action( 'add_meta_boxes', array( &$var, 'add_meta_box' ) ); 7 7 add_action( 'add_menu_page_meta_boxes', array( &$var, 'add_menu_page_meta_box' ) ); … … 17 17 $this->__enqueue_css(); 18 18 add_meta_box( 19 'Schemeable_Sliding_Panel_v1_1 _m_Need_Support_',19 'Schemeable_Sliding_Panel_v1_1a_m_Need_Support_', 20 20 __( 'Need Support?', 'Schemeable Sliding Panel_textdomain' ), 21 21 array( &$this, 'render_menu_page_meta_box' ), … … 57 57 58 58 function get_field_id( $id ) { 59 return 'id_Schemeable_Sliding_Panel_v1_1 _m_Need_Support__' . $id ;59 return 'id_Schemeable_Sliding_Panel_v1_1a_m_Need_Support__' . $id ; 60 60 } 61 61 62 62 function get_field_name( $id ) { 63 return 'name_Schemeable_Sliding_Panel_v1_1 _m_Need_Support__' . $id ;63 return 'name_Schemeable_Sliding_Panel_v1_1a_m_Need_Support__' . $id ; 64 64 } 65 65 66 66 function render_meta_box( $post ) { 67 67 68 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1 _m_Need_Support__noncename' );68 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1a_m_Need_Support__noncename' ); 69 69 70 70 $instance = get_post_meta( $post->ID, 'support', true ); … … 93 93 function render_menu_page_meta_box( $menu_page_slug ) { 94 94 95 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1 _m_Need_Support__noncename' );95 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1a_m_Need_Support__noncename' ); 96 96 97 97 $option = get_option($menu_page_slug); … … 123 123 return; 124 124 125 if ( !isset( $_POST['Schemeable_Sliding_Panel_v1_1 _m_Need_Support__noncename']) || !wp_verify_nonce( $_POST['Schemeable_Sliding_Panel_v1_1_m_Need_Support__noncename'], plugin_basename( __FILE__ ) ) )125 if ( !isset( $_POST['Schemeable_Sliding_Panel_v1_1a_m_Need_Support__noncename']) || !wp_verify_nonce( $_POST['Schemeable_Sliding_Panel_v1_1a_m_Need_Support__noncename'], plugin_basename( __FILE__ ) ) ) 126 126 return; 127 127 … … 187 187 } 188 188 if( is_admin( ) ) 189 add_action( 'admin_init', array( 'Schemeable_Sliding_Panel_v1_1 _m_Need_Support_', 'setup' ) );189 add_action( 'admin_init', array( 'Schemeable_Sliding_Panel_v1_1a_m_Need_Support_', 'setup' ) ); 190 190 ?> -
schemeable-sliding-panel/trunk/meta_boxes/options.php
r615591 r615918 1 1 <?php 2 2 3 class Schemeable_Sliding_Panel_v1_1 _m_Options {3 class Schemeable_Sliding_Panel_v1_1a_m_Options { 4 4 static function setup() { 5 $var = new Schemeable_Sliding_Panel_v1_1 _m_Options;5 $var = new Schemeable_Sliding_Panel_v1_1a_m_Options; 6 6 add_action( 'add_meta_boxes', array( &$var, 'add_meta_box' ) ); 7 7 add_action( 'add_menu_page_meta_boxes', array( &$var, 'add_menu_page_meta_box' ) ); … … 17 17 $this->__enqueue_css(); 18 18 add_meta_box( 19 'Schemeable_Sliding_Panel_v1_1 _m_Options',19 'Schemeable_Sliding_Panel_v1_1a_m_Options', 20 20 __( 'Options', 'Schemeable Sliding Panel_textdomain' ), 21 21 array( &$this, 'render_menu_page_meta_box' ), … … 57 57 58 58 function get_field_id( $id ) { 59 return 'id_Schemeable_Sliding_Panel_v1_1 _m_Options_' . $id ;59 return 'id_Schemeable_Sliding_Panel_v1_1a_m_Options_' . $id ; 60 60 } 61 61 62 62 function get_field_name( $id ) { 63 return 'name_Schemeable_Sliding_Panel_v1_1 _m_Options_' . $id ;63 return 'name_Schemeable_Sliding_Panel_v1_1a_m_Options_' . $id ; 64 64 } 65 65 66 66 function render_meta_box( $post ) { 67 67 68 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1 _m_Options_noncename' );68 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1a_m_Options_noncename' ); 69 69 70 70 $instance = get_post_meta( $post->ID, 'options', true ); … … 351 351 function render_menu_page_meta_box( $menu_page_slug ) { 352 352 353 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1 _m_Options_noncename' );353 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1a_m_Options_noncename' ); 354 354 355 355 $option = get_option($menu_page_slug); … … 639 639 return; 640 640 641 if ( !isset( $_POST['Schemeable_Sliding_Panel_v1_1 _m_Options_noncename']) || !wp_verify_nonce( $_POST['Schemeable_Sliding_Panel_v1_1_m_Options_noncename'], plugin_basename( __FILE__ ) ) )641 if ( !isset( $_POST['Schemeable_Sliding_Panel_v1_1a_m_Options_noncename']) || !wp_verify_nonce( $_POST['Schemeable_Sliding_Panel_v1_1a_m_Options_noncename'], plugin_basename( __FILE__ ) ) ) 642 642 return; 643 643 … … 751 751 } 752 752 if( is_admin( ) ) 753 add_action( 'admin_init', array( 'Schemeable_Sliding_Panel_v1_1 _m_Options', 'setup' ) );754 ?> 753 add_action( 'admin_init', array( 'Schemeable_Sliding_Panel_v1_1a_m_Options', 'setup' ) ); 754 ?> -
schemeable-sliding-panel/trunk/meta_boxes/share-scheme.php
r615591 r615918 1 1 <?php 2 2 3 class Schemeable_Sliding_Panel_v1_1 _m_Share_Scheme {3 class Schemeable_Sliding_Panel_v1_1a_m_Share_Scheme { 4 4 static function setup() { 5 $var = new Schemeable_Sliding_Panel_v1_1 _m_Share_Scheme;5 $var = new Schemeable_Sliding_Panel_v1_1a_m_Share_Scheme; 6 6 add_action( 'add_meta_boxes', array( &$var, 'add_meta_box' ) ); 7 7 add_action( 'add_menu_page_meta_boxes', array( &$var, 'add_menu_page_meta_box' ) ); … … 17 17 $this->__enqueue_css(); 18 18 add_meta_box( 19 'Schemeable_Sliding_Panel_v1_1 _m_Share_Scheme',19 'Schemeable_Sliding_Panel_v1_1a_m_Share_Scheme', 20 20 __( 'Share Scheme', 'Schemeable Sliding Panel_textdomain' ), 21 21 array( &$this, 'render_menu_page_meta_box' ), … … 57 57 58 58 function get_field_id( $id ) { 59 return 'id_Schemeable_Sliding_Panel_v1_1 _m_Share_Scheme_' . $id ;59 return 'id_Schemeable_Sliding_Panel_v1_1a_m_Share_Scheme_' . $id ; 60 60 } 61 61 62 62 function get_field_name( $id ) { 63 return 'name_Schemeable_Sliding_Panel_v1_1 _m_Share_Scheme_' . $id ;63 return 'name_Schemeable_Sliding_Panel_v1_1a_m_Share_Scheme_' . $id ; 64 64 } 65 65 66 66 function render_meta_box( $post ) { 67 67 68 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1 _m_Share_Scheme_noncename' );68 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1a_m_Share_Scheme_noncename' ); 69 69 70 70 $instance = get_post_meta( $post->ID, 'share-scheme', true ); … … 122 122 function render_menu_page_meta_box( $menu_page_slug ) { 123 123 124 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1 _m_Share_Scheme_noncename' );124 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1a_m_Share_Scheme_noncename' ); 125 125 126 126 $option = get_option($menu_page_slug); … … 181 181 return; 182 182 183 if ( !isset( $_POST['Schemeable_Sliding_Panel_v1_1 _m_Share_Scheme_noncename']) || !wp_verify_nonce( $_POST['Schemeable_Sliding_Panel_v1_1_m_Share_Scheme_noncename'], plugin_basename( __FILE__ ) ) )183 if ( !isset( $_POST['Schemeable_Sliding_Panel_v1_1a_m_Share_Scheme_noncename']) || !wp_verify_nonce( $_POST['Schemeable_Sliding_Panel_v1_1a_m_Share_Scheme_noncename'], plugin_basename( __FILE__ ) ) ) 184 184 return; 185 185 … … 249 249 } 250 250 if( is_admin( ) ) 251 add_action( 'admin_init', array( 'Schemeable_Sliding_Panel_v1_1 _m_Share_Scheme', 'setup' ) );251 add_action( 'admin_init', array( 'Schemeable_Sliding_Panel_v1_1a_m_Share_Scheme', 'setup' ) ); 252 252 ?> -
schemeable-sliding-panel/trunk/meta_boxes/spread-the-word.php
r615591 r615918 1 1 <?php 2 2 3 class Schemeable_Sliding_Panel_v1_1 _m_Spread_The_Word {3 class Schemeable_Sliding_Panel_v1_1a_m_Spread_The_Word { 4 4 static function setup() { 5 $var = new Schemeable_Sliding_Panel_v1_1 _m_Spread_The_Word;5 $var = new Schemeable_Sliding_Panel_v1_1a_m_Spread_The_Word; 6 6 add_action( 'add_meta_boxes', array( &$var, 'add_meta_box' ) ); 7 7 add_action( 'add_menu_page_meta_boxes', array( &$var, 'add_menu_page_meta_box' ) ); … … 17 17 $this->__enqueue_css(); 18 18 add_meta_box( 19 'Schemeable_Sliding_Panel_v1_1 _m_Spread_The_Word',19 'Schemeable_Sliding_Panel_v1_1a_m_Spread_The_Word', 20 20 __( 'Spread the Word', 'Schemeable Sliding Panel_textdomain' ), 21 21 array( &$this, 'render_menu_page_meta_box' ), … … 57 57 58 58 function get_field_id( $id ) { 59 return 'id_Schemeable_Sliding_Panel_v1_1 _m_Spread_The_Word_' . $id ;59 return 'id_Schemeable_Sliding_Panel_v1_1a_m_Spread_The_Word_' . $id ; 60 60 } 61 61 62 62 function get_field_name( $id ) { 63 return 'name_Schemeable_Sliding_Panel_v1_1 _m_Spread_The_Word_' . $id ;63 return 'name_Schemeable_Sliding_Panel_v1_1a_m_Spread_The_Word_' . $id ; 64 64 } 65 65 66 66 function render_meta_box( $post ) { 67 67 68 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1 _m_Spread_The_Word_noncename' );68 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1a_m_Spread_The_Word_noncename' ); 69 69 70 70 $instance = get_post_meta( $post->ID, 'spread-the-word', true ); … … 96 96 function render_menu_page_meta_box( $menu_page_slug ) { 97 97 98 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1 _m_Spread_The_Word_noncename' );98 wp_nonce_field( plugin_basename( __FILE__ ), 'Schemeable_Sliding_Panel_v1_1a_m_Spread_The_Word_noncename' ); 99 99 100 100 $option = get_option($menu_page_slug); … … 129 129 return; 130 130 131 if ( !isset( $_POST['Schemeable_Sliding_Panel_v1_1 _m_Spread_The_Word_noncename']) || !wp_verify_nonce( $_POST['Schemeable_Sliding_Panel_v1_1_m_Spread_The_Word_noncename'], plugin_basename( __FILE__ ) ) )131 if ( !isset( $_POST['Schemeable_Sliding_Panel_v1_1a_m_Spread_The_Word_noncename']) || !wp_verify_nonce( $_POST['Schemeable_Sliding_Panel_v1_1a_m_Spread_The_Word_noncename'], plugin_basename( __FILE__ ) ) ) 132 132 return; 133 133 … … 193 193 } 194 194 if( is_admin( ) ) 195 add_action( 'admin_init', array( 'Schemeable_Sliding_Panel_v1_1 _m_Spread_The_Word', 'setup' ) );195 add_action( 'admin_init', array( 'Schemeable_Sliding_Panel_v1_1a_m_Spread_The_Word', 'setup' ) ); 196 196 ?> -
schemeable-sliding-panel/trunk/readme.md
r615591 r615918 31 31 # Changelog 32 32 33 ## 1.1a ## 34 35 1. Fixed: green-meadows scheme 36 2. Fixed: When uploads folder is not available, failure of mkdir() logging in css causing invalid CSS. 37 33 38 ## 1.1 ## 34 39 -
schemeable-sliding-panel/trunk/readme.txt
r615591 r615918 5 5 Requires at least: 3.4 6 6 Tested up to: 3.4.2 7 Stable tag: 1.1 7 Stable tag: 1.1a 8 8 License: GPLv2 or later 9 9 … … 59 59 == Changelog == 60 60 61 = 1.1a = 62 63 1. Fixed: green-meadows scheme 64 2. Fixed: When uploads folder is not available, failure of mkdir() logging in css causing invalid CSS. 65 61 66 = 1.1 = 62 67 … … 70 75 == Upgrade Notice == 71 76 72 = 1.1 =73 No major changes. Happy with 1.0? Stick with it.77 = 1.1a = 78 No major changes. 74 79 75 80 -
schemeable-sliding-panel/trunk/schemeable-sliding-panel.php
r615591 r615918 4 4 Plugin URI: http://wp-pde.jaliansystems.com/schemeable-sliding-panel 5 5 Description: Use smooth and beautiful sliding panel for your blog. Fully scheme-able and configurable. Bundled with six beautiful schemes. 6 Version: 1.1 6 Version: 1.1a 7 7 Author: Dakshinamurthy Karra 8 8 Author URI: http://wp-pde.jaliansystems.com … … 35 35 * Schemeable Sliding Panel plugin class 36 36 */ 37 class Schemeable_Sliding_Panel_v1_1 {37 class Schemeable_Sliding_Panel_v1_1a { 38 38 39 39 static function check_for_scheme_change( $sop ) { … … 296 296 } 297 297 298 class Schemeable_Sliding_Panel_v1_1 _StubFirePHP {298 class Schemeable_Sliding_Panel_v1_1a_StubFirePHP { 299 299 function __call($name, $arguments) {} 300 300 } … … 302 302 if(!isset($GLOBALS['pde_firephp'])) { 303 303 global $pde_firephp ; 304 $pde_firephp = new Schemeable_Sliding_Panel_v1_1 _StubFirePHP();304 $pde_firephp = new Schemeable_Sliding_Panel_v1_1a_StubFirePHP(); 305 305 } 306 306 … … 309 309 } 310 310 311 add_action( 'sliding-panel-options-action-save', array('Schemeable_Sliding_Panel_v1_1 ', 'check_for_scheme_change'), 10, 1 );312 add_action( 'sliding-panel-options-action-export_scheme', array('Schemeable_Sliding_Panel_v1_1 ', 'export_scheme'), 10, 1 );313 add_action( 'wp_footer', array('Schemeable_Sliding_Panel_v1_1 ', 'include_sliding_panel'), 10, 1 );314 add_action( 'login_form_login', array('Schemeable_Sliding_Panel_v1_1 ', 'login_user'), 10, 1 );315 add_action( 'login_form_lostpassword', array('Schemeable_Sliding_Panel_v1_1 ', 'lost_password'), 10, 1 );316 add_action( 'template_redirect', array('Schemeable_Sliding_Panel_v1_1 ', 'process_file'), 10, 1 );317 add_action( 'login_form_register', array('Schemeable_Sliding_Panel_v1_1 ', 'register_new_user'), 10, 1 );318 add_action( 'widgets_init', array('Schemeable_Sliding_Panel_v1_1 ', 'register_sidebar'), 10, 1 );319 add_action( 'sliding-panel-options-action-remove_scheme', array('Schemeable_Sliding_Panel_v1_1 ', 'remove_scheme'), 10, 1 );320 add_action( 'sliding-panel-options-action-save_scheme', array('Schemeable_Sliding_Panel_v1_1 ', 'save_scheme'), 10, 1 );321 add_action( 'enqueue_css_sliding-panel-options', array('Schemeable_Sliding_Panel_v1_1 ', 'sliding_panel_admin_include_scripts'), 10, 1 );322 add_action( 'wp_enqueue_scripts', array('Schemeable_Sliding_Panel_v1_1 ', 'sliding_panel_enqueue_scripts'), 10, 1 );323 add_filter( 'plugin_action_links', array('Schemeable_Sliding_Panel_v1_1 ', 'add_activation_links'), 10, 2 );324 add_filter( 'query_vars', array('Schemeable_Sliding_Panel_v1_1 ', 'add_process_file_query_var'), 10, 1 );325 add_filter( 'pde-menu-page-defaults-sliding-panel-options', array('Schemeable_Sliding_Panel_v1_1 ', 'sliding_panel_fill_defaults'), 10, 1 );311 add_action( 'sliding-panel-options-action-save', array('Schemeable_Sliding_Panel_v1_1a', 'check_for_scheme_change'), 10, 1 ); 312 add_action( 'sliding-panel-options-action-export_scheme', array('Schemeable_Sliding_Panel_v1_1a', 'export_scheme'), 10, 1 ); 313 add_action( 'wp_footer', array('Schemeable_Sliding_Panel_v1_1a', 'include_sliding_panel'), 10, 1 ); 314 add_action( 'login_form_login', array('Schemeable_Sliding_Panel_v1_1a', 'login_user'), 10, 1 ); 315 add_action( 'login_form_lostpassword', array('Schemeable_Sliding_Panel_v1_1a', 'lost_password'), 10, 1 ); 316 add_action( 'template_redirect', array('Schemeable_Sliding_Panel_v1_1a', 'process_file'), 10, 1 ); 317 add_action( 'login_form_register', array('Schemeable_Sliding_Panel_v1_1a', 'register_new_user'), 10, 1 ); 318 add_action( 'widgets_init', array('Schemeable_Sliding_Panel_v1_1a', 'register_sidebar'), 10, 1 ); 319 add_action( 'sliding-panel-options-action-remove_scheme', array('Schemeable_Sliding_Panel_v1_1a', 'remove_scheme'), 10, 1 ); 320 add_action( 'sliding-panel-options-action-save_scheme', array('Schemeable_Sliding_Panel_v1_1a', 'save_scheme'), 10, 1 ); 321 add_action( 'enqueue_css_sliding-panel-options', array('Schemeable_Sliding_Panel_v1_1a', 'sliding_panel_admin_include_scripts'), 10, 1 ); 322 add_action( 'wp_enqueue_scripts', array('Schemeable_Sliding_Panel_v1_1a', 'sliding_panel_enqueue_scripts'), 10, 1 ); 323 add_filter( 'plugin_action_links', array('Schemeable_Sliding_Panel_v1_1a', 'add_activation_links'), 10, 2 ); 324 add_filter( 'query_vars', array('Schemeable_Sliding_Panel_v1_1a', 'add_process_file_query_var'), 10, 1 ); 325 add_filter( 'pde-menu-page-defaults-sliding-panel-options', array('Schemeable_Sliding_Panel_v1_1a', 'sliding_panel_fill_defaults'), 10, 1 ); 326 326 327 327 -
schemeable-sliding-panel/trunk/tabs.php
r608940 r615918 55 55 56 56 if( !is_dir( dirname( $file ) ) ) 57 if( ! mkdir( dirname( $file ), 0755, true ) ) {57 if( !@mkdir( dirname( $file ), 0755, true ) ) { 58 58 global $messages; 59 59 $messages[] = array( 'error', 'Could not create folder ' . dirname($file) ); … … 91 91 92 92 if( !is_dir( dirname( $file ) ) ) 93 if( ! mkdir( dirname( $file ), 0755, true ) ) {93 if( !@mkdir( dirname( $file ), 0755, true ) ) { 94 94 global $messages; 95 95 $messages[] = array( 'error', 'Could not create folder ' . dirname($file) ); … … 139 139 140 140 if( !is_dir( dirname( $file ) ) ) 141 if( ! mkdir( dirname( $file ), 0755, true ) ) {141 if( !@mkdir( dirname( $file ), 0755, true ) ) { 142 142 global $messages; 143 143 $messages[] = array( 'error', 'Could not create folder ' . dirname($file) ); … … 182 182 183 183 if( !is_dir( dirname( $file ) ) ) 184 if( ! mkdir( dirname( $file ), 0755, true ) ) {184 if( !@mkdir( dirname( $file ), 0755, true ) ) { 185 185 global $messages; 186 186 $messages[] = array( 'error', 'Could not create folder ' . dirname($file) );
Note: See TracChangeset
for help on using the changeset viewer.