Simple Page Sidebars - Version 1.0.1

Version Description

  • Fixed bug causing issues with other plugins that don't submit the sidebar nonce on the All Pages screen.
Download this release

Release Info

Developer blazersix
Plugin Icon 128x128 Simple Page Sidebars
Version 1.0.1
Comparing to
See all releases

Code changes from version 1.0 to 1.0.1

Files changed (3) hide show
  1. admin/admin.php +1 -5
  2. readme.txt +4 -1
  3. simple-page-sidebars.php +1 -1
admin/admin.php CHANGED
@@ -78,11 +78,7 @@ class Simple_Page_Sidebars_Admin {
78
  $sidebar_name_nonce = ( isset( $_REQUEST['sidebar_name_nonce'] ) && wp_verify_nonce( $_REQUEST['sidebar_name_nonce'], 'update-page-sidebar-name-' . $post_id ) ) ? true : false;
79
  $bulk_sidebar_name_nonce = ( isset( $_REQUEST['bulk_sidebar_name_nonce'] ) && wp_verify_nonce( $_REQUEST['bulk_sidebar_name_nonce'], 'bulk-update-page-sidebar-name' ) ) ? true : false;
80
  if ( ! $sidebar_name_nonce && ! $bulk_sidebar_name_nonce ) {
81
- if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
82
- exit;
83
- } else {
84
- return;
85
- }
86
  }
87
 
88
  // if 'new_sidebar_name' is set and not empty, it supercedes any 'sidebar_name' setting
78
  $sidebar_name_nonce = ( isset( $_REQUEST['sidebar_name_nonce'] ) && wp_verify_nonce( $_REQUEST['sidebar_name_nonce'], 'update-page-sidebar-name-' . $post_id ) ) ? true : false;
79
  $bulk_sidebar_name_nonce = ( isset( $_REQUEST['bulk_sidebar_name_nonce'] ) && wp_verify_nonce( $_REQUEST['bulk_sidebar_name_nonce'], 'bulk-update-page-sidebar-name' ) ) ? true : false;
80
  if ( ! $sidebar_name_nonce && ! $bulk_sidebar_name_nonce ) {
81
+ return;
 
 
 
 
82
  }
83
 
84
  // if 'new_sidebar_name' is set and not empty, it supercedes any 'sidebar_name' setting
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://bit.ly/s2zcgD
4
  Tags: sidebars, custom sidebars, dynamic sidebar, simple, widget, widgets
5
  Requires at least: 3.2.1
6
  Tested up to: 3.4.1
7
- Stable tag: 1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -68,6 +68,9 @@ Some themes create different sidebars for their various page templates, which me
68
 
69
  == Changelog ==
70
 
 
 
 
71
  = 1.0 =
72
  * Modified check for blog page.
73
 
4
  Tags: sidebars, custom sidebars, dynamic sidebar, simple, widget, widgets
5
  Requires at least: 3.2.1
6
  Tested up to: 3.4.1
7
+ Stable tag: 1.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
68
 
69
  == Changelog ==
70
 
71
+ = 1.0.1 =
72
+ * Fixed bug causing issues with other plugins that don't submit the sidebar nonce on the All Pages screen.
73
+
74
  = 1.0 =
75
  * Modified check for blog page.
76
 
simple-page-sidebars.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Simple Page Sidebars
4
- Version: 1.0
5
  Plugin URI: http://wordpress.org/extend/plugins/simple-page-sidebars/
6
  Description: Assign custom, widget-enabled sidebars to any page with ease.
7
  Author: Blazer Six, Inc.
1
  <?php
2
  /*
3
  Plugin Name: Simple Page Sidebars
4
+ Version: 1.0.1
5
  Plugin URI: http://wordpress.org/extend/plugins/simple-page-sidebars/
6
  Description: Assign custom, widget-enabled sidebars to any page with ease.
7
  Author: Blazer Six, Inc.