Page Builder: Live Composer – drag and drop website builder (visual front end site editor) - Version 1.5.9

Version Description

  • Nov 10 2020 =
  • Fix error: wpColorPickerL10n is not defined on WordPress 5.5.1
Download this release

Release Info

Developer LiveComposer
Plugin Icon 128x128 Page Builder: Live Composer – drag and drop website builder (visual front end site editor)
Version 1.5.9
Comparing to
See all releases

Code changes from version 1.5.8 to 1.5.9

Files changed (3) hide show
  1. ds-live-composer.php +2 -2
  2. includes/scripts.php +16 -0
  3. readme.txt +4 -1
ds-live-composer.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://www.livecomposerplugin.com
5
  * Description: Page builder for WordPress with drag and drop header/footer editing.
6
  * Author: Live Composer Team
7
- * Version: 1.5.8
8
  * Author URI: https://livecomposerplugin.com
9
  * License: GPL3
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -41,7 +41,7 @@ if ( ! defined( 'DS_LIVE_COMPOSER_VER' ) && version_compare( PHP_VERSION, '5.3.0
41
  * Constants
42
  */
43
 
44
- define( 'DS_LIVE_COMPOSER_VER', '1.5.8' );
45
 
46
  define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
47
  define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
4
  * Plugin URI: https://www.livecomposerplugin.com
5
  * Description: Page builder for WordPress with drag and drop header/footer editing.
6
  * Author: Live Composer Team
7
+ * Version: 1.5.9
8
  * Author URI: https://livecomposerplugin.com
9
  * License: GPL3
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
41
  * Constants
42
  */
43
 
44
+ define( 'DS_LIVE_COMPOSER_VER', '1.5.9' );
45
 
46
  define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
47
  define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
includes/scripts.php CHANGED
@@ -208,6 +208,22 @@ final class DSLC_Scripts {
208
  // Color picker.
209
  wp_enqueue_style( 'wp-color-picker' );
210
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
  // wp_enqueue_script( 'imagesloaded' ); // Need this for Masonry.
212
  // wp_enqueue_script( 'jquery-masonry' );
213
  wp_enqueue_script(
208
  // Color picker.
209
  wp_enqueue_style( 'wp-color-picker' );
210
 
211
+ global $wp_scripts;
212
+
213
+ // if localization doesnt already exist on the color picker, then add it
214
+ if( !array_key_exists("data", $wp_scripts->registered["wp-color-picker"]->extra) ) {
215
+ $wp_scripts->localize('wp-color-picker',
216
+ 'wpColorPickerL10n',
217
+ array(
218
+ 'clear' => __( 'Clear' ),
219
+ 'clearAriaLabel' => __( 'Clear color' ),
220
+ 'defaultString' => __( 'Default' ),
221
+ 'defaultAriaLabel' => __( 'Select default color' ),
222
+ 'pick' => __( 'Select Color' ),
223
+ 'defaultLabel' => __( 'Color value' ),
224
+ ));
225
+ }
226
+
227
  // wp_enqueue_script( 'imagesloaded' ); // Need this for Masonry.
228
  // wp_enqueue_script( 'jquery-masonry' );
229
  wp_enqueue_script(
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: LiveComposer
3
  Tags: page builder, landing page builder, frontend page builder, drag and drop page builder, website builder
4
  Requires at least: 4.7
5
  Tested up to: 5.5
6
- Stable tag: 1.5.8
7
  License: GPLv3
8
 
9
  Page builder for WordPress with drag and drop header/footer editing, responsive settings, and animations. Compatible with Gutenberg block editor.
@@ -58,6 +58,9 @@ In most of the cases, this is because the homepage is not a real WordPress page,
58
  * 🦊 [Check out our WooCommerce Page Builder Extension](https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=woo-integration)
59
  * 👀 [We keep updating and improving our extensions pack](https://livecomposerplugin.com/downloads/extensions/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=add-ons) ACF + CPT + MegaMenu + 9 more add-ons.
60
 
 
 
 
61
  = 1.5.8 - Aug 13 2020 =
62
  * 🕷 Fix error: mqMutationObserver is not defined
63
 
3
  Tags: page builder, landing page builder, frontend page builder, drag and drop page builder, website builder
4
  Requires at least: 4.7
5
  Tested up to: 5.5
6
+ Stable tag: 1.5.9
7
  License: GPLv3
8
 
9
  Page builder for WordPress with drag and drop header/footer editing, responsive settings, and animations. Compatible with Gutenberg block editor.
58
  * 🦊 [Check out our WooCommerce Page Builder Extension](https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=woo-integration)
59
  * 👀 [We keep updating and improving our extensions pack](https://livecomposerplugin.com/downloads/extensions/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=add-ons) ACF + CPT + MegaMenu + 9 more add-ons.
60
 
61
+ = 1.5.9 - Nov 10 2020 =
62
+ * 🕷 Fix error: wpColorPickerL10n is not defined on WordPress 5.5.1
63
+
64
  = 1.5.8 - Aug 13 2020 =
65
  * 🕷 Fix error: mqMutationObserver is not defined
66