Lightweight Sidebar Manager - Version 1.1.1

Version Description

Download this release

Release Info

Developer patilvikasj
Plugin Icon 128x128 Lightweight Sidebar Manager
Version 1.1.1
Comparing to
See all releases

Code changes from version 1.1.0 to 1.1.1

classes/class-bsf-sb-post-type.php CHANGED
@@ -106,7 +106,7 @@ if ( ! class_exists( 'BSF_SB_Post_Type' ) ) {
106
  $user_label = array();
107
 
108
  foreach ( $users as $user ) {
109
- $user_label[] = Astra_Target_Rules_Fields::get_user_by_key( $user );
110
  }
111
 
112
  echo '<div class="ast-advanced-headers-users-wrap">';
@@ -134,12 +134,12 @@ if ( ! class_exists( 'BSF_SB_Post_Type' ) ) {
134
 
135
  if ( isset( $locations['rule'] ) && is_array( $locations['rule'] ) ) {
136
  foreach ( $locations['rule'] as $location ) {
137
- $location_label[] = Astra_Target_Rules_Fields::get_location_by_key( $location );
138
  }
139
  }
140
  if ( isset( $locations['specific'] ) && is_array( $locations['specific'] ) ) {
141
  foreach ( $locations['specific'] as $location ) {
142
- $location_label[] = Astra_Target_Rules_Fields::get_location_by_key( $location );
143
  }
144
  }
145
 
@@ -150,7 +150,7 @@ if ( ! class_exists( 'BSF_SB_Post_Type' ) ) {
150
  /**
151
  * Highlight themes.php and sidebars menu when editing sidebars.
152
  *
153
- * @since x.x.x
154
  * @return void
155
  */
156
  public function menu_highlight() {
106
  $user_label = array();
107
 
108
  foreach ( $users as $user ) {
109
+ $user_label[] = BSF_SB_Target_Rules_Fields::get_user_by_key( $user );
110
  }
111
 
112
  echo '<div class="ast-advanced-headers-users-wrap">';
134
 
135
  if ( isset( $locations['rule'] ) && is_array( $locations['rule'] ) ) {
136
  foreach ( $locations['rule'] as $location ) {
137
+ $location_label[] = BSF_SB_Target_Rules_Fields::get_location_by_key( $location );
138
  }
139
  }
140
  if ( isset( $locations['specific'] ) && is_array( $locations['specific'] ) ) {
141
  foreach ( $locations['specific'] as $location ) {
142
+ $location_label[] = BSF_SB_Target_Rules_Fields::get_location_by_key( $location );
143
  }
144
  }
145
 
150
  /**
151
  * Highlight themes.php and sidebars menu when editing sidebars.
152
  *
153
+ * @since 1.1.1
154
  * @return void
155
  */
156
  public function menu_highlight() {
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: BrainstormForce
3
  Donate link: https://www.paypal.me/BrainstormForce
4
  Tags: custom sidebar, sidebar manager, custom widget areas, widgets, conditional sidebar
5
  Requires at least: 4.0
6
- Tested up to: 5.2.2
7
- Stable tag: 1.1.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -51,18 +51,21 @@ Other plugins we found are heavy with ugly interface, non supported, developed o
51
 
52
  == Changelog ==
53
 
 
 
 
54
  v1.1.0
55
- * New: Target rules appearing in Display Rules column for sidebars.
56
- * Improvement: White Label can be set from wp-config.php file.
57
 
58
  v1.0.2
59
- * Improvement: Update target rules with support for targeting all posts inside taxonomies and terms.
60
- * Fix: If a taxonomy is used for multiple post types, it was not displayed in target rules.
61
- * Fix: Load correct textdomain and allow the plugin to be translated from translate.W.org
62
 
63
  v1.0.1
64
- * White Label support added from the [Astra Pro](https://wpastra.com/pro/) plugin.
65
- * Optimized target rules query to be even more lightweight.
66
 
67
  v1.0.0
68
- * Initial release
3
  Donate link: https://www.paypal.me/BrainstormForce
4
  Tags: custom sidebar, sidebar manager, custom widget areas, widgets, conditional sidebar
5
  Requires at least: 4.0
6
+ Tested up to: 5.2
7
+ Stable tag: 1.1.1
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
51
 
52
  == Changelog ==
53
 
54
+ v1.1.1
55
+ - Fix: Fixes a fatal error on Sidebar list page.
56
+
57
  v1.1.0
58
+ - New: Target rules appearing in Display Rules column for sidebars.
59
+ - Improvement: White Label can be set from wp-config.php file.
60
 
61
  v1.0.2
62
+ - Improvement: Update target rules with support for targeting all posts inside taxonomies and terms.
63
+ - Fix: If a taxonomy is used for multiple post types, it was not displayed in target rules.
64
+ - Fix: Load correct textdomain and allow the plugin to be translated from translate.W.org
65
 
66
  v1.0.1
67
+ - White Label support added from the [Astra Pro](https://wpastra.com/pro/) plugin.
68
+ - Optimized target rules query to be even more lightweight.
69
 
70
  v1.0.0
71
+ - Initial release
sidebar-manager.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Sidebar Manager
4
  * Plugin URI: http://www.brainstormforce.com
5
  * Description: This is the plugin to create custom siderbars to your site.
6
- * Version: 1.1.0
7
  * Author: Brainstorm Force
8
  * Author URI: https://www.brainstormforce.com/
9
  * Text Domain: bsfsidebars
@@ -25,7 +25,7 @@ define( 'BSF_SB_FILE', __FILE__ );
25
  define( 'BSF_SB_BASE', plugin_basename( BSF_SB_FILE ) );
26
  define( 'BSF_SB_DIR', plugin_dir_path( BSF_SB_FILE ) );
27
  define( 'BSF_SB_URL', plugins_url( '/', BSF_SB_FILE ) );
28
- define( 'BSF_SB_VER', '1.1.0' );
29
  define( 'BSF_SB_PREFIX', 'bsf-sb' );
30
  define( 'BSF_SB_POST_TYPE', 'bsf-sidebar' );
31
 
3
  * Plugin Name: Sidebar Manager
4
  * Plugin URI: http://www.brainstormforce.com
5
  * Description: This is the plugin to create custom siderbars to your site.
6
+ * Version: 1.1.1
7
  * Author: Brainstorm Force
8
  * Author URI: https://www.brainstormforce.com/
9
  * Text Domain: bsfsidebars
25
  define( 'BSF_SB_BASE', plugin_basename( BSF_SB_FILE ) );
26
  define( 'BSF_SB_DIR', plugin_dir_path( BSF_SB_FILE ) );
27
  define( 'BSF_SB_URL', plugins_url( '/', BSF_SB_FILE ) );
28
+ define( 'BSF_SB_VER', '1.1.1' );
29
  define( 'BSF_SB_PREFIX', 'bsf-sb' );
30
  define( 'BSF_SB_POST_TYPE', 'bsf-sidebar' );
31