Custom Sidebars – Dynamic Widget Area Manager - Version 3.0.7.1

Version Description

  • Fixed visibility of Custom Explain - now it is visible only for administrators.
Download this release

Release Info

Developer iworks
Plugin Icon 128x128 Custom Sidebars – Dynamic Widget Area Manager
Version 3.0.7.1
Comparing to
See all releases

Code changes from version 3.0.7 to 3.0.7.1

css/cs-cloning.min.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! Custom Sidebars - v3.0.7
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
 
1
+ /*! Custom Sidebars - v3.0.7.1
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
 
css/cs-scan.min.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! Custom Sidebars - v3.0.7
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
 
1
+ /*! Custom Sidebars - v3.0.7.1
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
 
css/cs-visibility.min.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! Custom Sidebars - v3.0.7
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
 
1
+ /*! Custom Sidebars - v3.0.7.1
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
 
css/cs.min.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! Custom Sidebars - v3.0.7
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
 
1
+ /*! Custom Sidebars - v3.0.7.1
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
 
customsidebars.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Custom Sidebars
4
  * Plugin URI: https://wordpress.org/plugins/custom-sidebars/
5
  * Description: Allows you to create widgetized areas and custom sidebars. Replace whole sidebars or single widgets for specific posts and pages.
6
- * Version: 3.0.7
7
  * Author: WPMU DEV
8
  * Author URI: http://premium.wpmudev.org/
9
  * Textdomain: custom-sidebars
3
  * Plugin Name: Custom Sidebars
4
  * Plugin URI: https://wordpress.org/plugins/custom-sidebars/
5
  * Description: Allows you to create widgetized areas and custom sidebars. Replace whole sidebars or single widgets for specific posts and pages.
6
+ * Version: 3.0.7.1
7
  * Author: WPMU DEV
8
  * Author URI: http://premium.wpmudev.org/
9
  * Textdomain: custom-sidebars
inc/class-custom-sidebars-explain.php CHANGED
@@ -109,7 +109,7 @@ class CustomSidebarsExplain extends CustomSidebars {
109
  if ( ! isset( $_GET['cs-explain'] ) ) {
110
  return;
111
  }
112
- if ( 'on' == $_GET['cs-explain'] ) {
113
  $this->debug = true;
114
  $result = add_user_meta( $this->current_user_id, 'custom_sidebars_explain', $this->debug, true );
115
  if ( ! $result ) {
@@ -209,7 +209,7 @@ class CustomSidebarsExplain extends CustomSidebars {
209
 
210
 
211
  public function admin_bar_menu( $wp_admin_bar ) {
212
- if ( 0 == $this->current_user_id ) {
213
  return;
214
  }
215
  $args = array(
109
  if ( ! isset( $_GET['cs-explain'] ) ) {
110
  return;
111
  }
112
+ if ( current_user_can( 'manage_options' ) && 'on' == $_GET['cs-explain'] ) {
113
  $this->debug = true;
114
  $result = add_user_meta( $this->current_user_id, 'custom_sidebars_explain', $this->debug, true );
115
  if ( ! $result ) {
209
 
210
 
211
  public function admin_bar_menu( $wp_admin_bar ) {
212
+ if ( ! current_user_can( 'manage_options' ) ) {
213
  return;
214
  }
215
  $args = array(
js/cs-cloning.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Custom Sidebars - v3.0.7
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
  /*global jQuery:false */
1
+ /*! Custom Sidebars - v3.0.7.1
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
  /*global jQuery:false */
js/cs-cloning.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Custom Sidebars - v3.0.7
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
 
1
+ /*! Custom Sidebars - v3.0.7.1
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
 
js/cs-visibility.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Custom Sidebars - v3.0.7
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
  /*global jQuery:false */
1
+ /*! Custom Sidebars - v3.0.7.1
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
  /*global jQuery:false */
js/cs-visibility.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Custom Sidebars - v3.0.7
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
 
1
+ /*! Custom Sidebars - v3.0.7.1
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
 
js/cs.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Custom Sidebars - v3.0.7
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
  /*global window:false */
1
+ /*! Custom Sidebars - v3.0.7.1
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
  /*global window:false */
js/cs.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Custom Sidebars - v3.0.7
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
 
1
+ /*! Custom Sidebars - v3.0.7.1
2
  * https://premium.wpmudev.org/project/custom-sidebars-pro/
3
  * Copyright (c) 2017; * Licensed GPLv2+ */
4
 
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: WPMUDEV, marquex, WPMUDEV-Support2, WPMUDEV-Support1, WPMUDEV-Support6, WPMUDEV-Support4, iworks
3
  Tags: sidebar, widget, footer, custom, flexible layout, dynamic widgets, manage sidebars, replace widgets, custom widget area
4
  Requires at least: 3.6
5
- Tested up to: 4.7.5
6
- Stable tag: 3.0.7
7
 
8
  Flexible sidebars for custom widget configurations on every page, post and custom post type on your site.
9
 
@@ -120,13 +120,16 @@ If you are running a earlier version of WordPress download Custom Sidebars 0.8.2
120
 
121
  == Changelog ==
122
 
123
- 3.0.7
124
- - Added ability to replace sidebars for category archive.
125
- - Added ability to replace sidebars for custom taxonomy archive.
126
- - Added ability to turn on Custom Sidebars Explain mode from Admin Bar.
127
- - Fixed a replacement problem on 404 pages.
128
- - Improved "Sidebar Location" popup - added a message when we do not have any replaceable sidebar.
129
- - Refactored "Column Sidebars" on post list screen.
 
 
 
130
 
131
  = 3.0.6 =
132
  * Added width to "Custom Sidebars" column on entries list screen to avoid uncontrolled column width.
2
  Contributors: WPMUDEV, marquex, WPMUDEV-Support2, WPMUDEV-Support1, WPMUDEV-Support6, WPMUDEV-Support4, iworks
3
  Tags: sidebar, widget, footer, custom, flexible layout, dynamic widgets, manage sidebars, replace widgets, custom widget area
4
  Requires at least: 3.6
5
+ Tested up to: 4.8
6
+ Stable tag: 3.0.7.1
7
 
8
  Flexible sidebars for custom widget configurations on every page, post and custom post type on your site.
9
 
120
 
121
  == Changelog ==
122
 
123
+ = 3.0.7.1 =
124
+ * Fixed visibility of Custom Explain - now it is visible only for administrators.
125
+
126
+ = 3.0.7 =
127
+ * Added ability to replace sidebars for category archive.
128
+ * Added ability to replace sidebars for custom taxonomy archive.
129
+ * Added ability to turn on Custom Sidebars Explain mode from Admin Bar.
130
+ * Fixed a replacement problem on 404 pages.
131
+ * Improved "Sidebar Location" popup - added a message when we do not have any replaceable sidebar.
132
+ * Refactored "Column Sidebars" on post list screen.
133
 
134
  = 3.0.6 =
135
  * Added width to "Custom Sidebars" column on entries list screen to avoid uncontrolled column width.