Cherry Sidebars - Version 1.1.2.3

Version Description

Download this release

Release Info

Developer TemplateMonster 2002
Plugin Icon 128x128 Cherry Sidebars
Version 1.1.2.3
Comparing to
See all releases

Code changes from version 1.1.2.2 to 1.1.2.3

admin/includes/class-cherry-sidebars-admin.php CHANGED
@@ -68,6 +68,20 @@ class Cherry_Sidebars_Admin {
68
 
69
  public function editor_fix() {
70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  wp_enqueue_style(
72
  'cherry-team-editor',
73
  trailingslashit( CHERRY_SIDEBARS_URI ) . 'admin/assets/css/editor.css',
@@ -76,11 +90,14 @@ class Cherry_Sidebars_Admin {
76
  );
77
 
78
  wp_dequeue_script( 'wp-color-picker-alpha' );
 
 
 
79
 
80
- wp_register_script(
81
- 'wp-color-picker-alpha',
82
  trailingslashit( CHERRY_SIDEBARS_URI ) . 'admin/assets/js/wp-color-picker-alpha.min.js',
83
- array( 'jquery', 'wp-color-picker' ),
84
  CHERRY_SIDEBARS_VERSION,
85
  true
86
  );
68
 
69
  public function editor_fix() {
70
 
71
+ if ( ! defined( 'TM_BUILDER_VERSION' ) ) {
72
+ return;
73
+ }
74
+
75
+ global $wp_customize;
76
+
77
+ if ( $wp_customize ) {
78
+ return;
79
+ }
80
+
81
+ if ( ! wp_script_is( 'wp-color-picker-alpha' ) ) {
82
+ return;
83
+ }
84
+
85
  wp_enqueue_style(
86
  'cherry-team-editor',
87
  trailingslashit( CHERRY_SIDEBARS_URI ) . 'admin/assets/css/editor.css',
90
  );
91
 
92
  wp_dequeue_script( 'wp-color-picker-alpha' );
93
+ wp_deregister_script( 'wp-color-picker-alpha' );
94
+
95
+ wp_enqueue_script( 'wp-color-picker' );
96
 
97
+ wp_enqueue_script(
98
+ 'wp-color-picker-alpha-new',
99
  trailingslashit( CHERRY_SIDEBARS_URI ) . 'admin/assets/js/wp-color-picker-alpha.min.js',
100
+ array( 'jquery' ),
101
  CHERRY_SIDEBARS_VERSION,
102
  true
103
  );
cherry-sidebars.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Cherry Sidebars
4
  * Plugin URI: https://zemez.io/wordpress/
5
  * Description: Plugin for creating and managing sidebars in WordPress.
6
- * Version: 1.1.2.2
7
  * Author: Zemez
8
  * Text Domain: cherry-sidebars
9
  * License: GPL-3.0+
3
  * Plugin Name: Cherry Sidebars
4
  * Plugin URI: https://zemez.io/wordpress/
5
  * Description: Plugin for creating and managing sidebars in WordPress.
6
+ * Version: 1.1.2.3
7
  * Author: Zemez
8
  * Text Domain: cherry-sidebars
9
  * License: GPL-3.0+
readme.txt CHANGED
@@ -3,8 +3,8 @@
3
  Contributors: TemplateMonster 2002
4
  Tags: sidebar, sidebar manager, cherry framework, custom sidebars, widget area, group widgets, page custom sidebar, post custom sidebar, custom sidebar, dynamic sidebar
5
  Requires at least: 4.5
6
- Tested up to: 4.9
7
- Stable tag: 1.1.2.2
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
3
  Contributors: TemplateMonster 2002
4
  Tags: sidebar, sidebar manager, cherry framework, custom sidebars, widget area, group widgets, page custom sidebar, post custom sidebar, custom sidebar, dynamic sidebar
5
  Requires at least: 4.5
6
+ Tested up to: 4.9.1
7
+ Stable tag: 1.1.2.3
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10