Changeset 1990988
- Timestamp:
- 12/10/2018 04:35:56 PM (7 years ago)
- Location:
- customify/trunk
- Files:
-
- 4 edited
-
class-pixcustomify.php (modified) (2 diffs)
-
customify.php (modified) (2 diffs)
-
js/customizer_preview.js (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
customify/trunk/class-pixcustomify.php
r1985364 r1990988 471 471 function customizer_live_preview_register_scripts() { 472 472 wp_register_script( $this->plugin_slug . 'CSSOM', plugins_url( 'js/CSSOM.js', $this->file ), array( 'jquery' ), $this->_version, true ); 473 wp_register_script( $this->plugin_slug . 'cssUpdate', plugins_url( 'js/jquery.cssUpdate.js', $this->file ), array( ), $this->_version, true );473 wp_register_script( $this->plugin_slug . 'cssUpdate', plugins_url( 'js/jquery.cssUpdate.js', $this->file ), array( 'jquery' ), $this->_version, true ); 474 474 wp_register_script( $this->plugin_slug . '-previewer-scripts', plugins_url( 'js/customizer_preview.js', $this->file ), array( 475 475 'jquery', … … 619 619 // We need to use a class because we may have multiple <style>s with the same "ID" for example 620 620 // when targeting the same property but with different selectors. 621 622 $inline_style = '<style class="dynamic_setting_ ' . sanitize_html_class( $option_id ) . '_property_' . str_replace( '-', '_', $properties_set['property'] ) . '_' . $key .'" type="text/css">'; 621 $unique_class = 'dynamic_setting_' . $option_id . '_property_' . str_replace( '-', '_', $properties_set['property'] ) . '_' . $key; 622 623 $inline_style = '<style class="' . sanitize_html_class( $unique_class ) . '" type="text/css">'; 623 624 624 625 if ( isset( $properties_set['media'] ) && ! empty( $properties_set['media'] ) ) { -
customify/trunk/customify.php
r1987686 r1990988 4 4 Plugin URI: https://wordpress.org/plugins/customify/ 5 5 Description: A Theme Customizer Booster 6 Version: 2.3. 16 Version: 2.3.2 7 7 Author: Pixelgrade 8 8 Author URI: https://pixelgrade.com … … 62 62 require_once plugin_dir_path( __FILE__ ) . 'class-pixcustomify.php'; 63 63 64 $instance = PixCustomifyPlugin::instance( __FILE__, '2.3. 1' );64 $instance = PixCustomifyPlugin::instance( __FILE__, '2.3.2' ); 65 65 66 66 return $instance; -
customify/trunk/js/customizer_preview.js
r1985364 r1990988 55 55 // Replace all dashes with underscores thus making the CSS property safe to us in a HTML ID. 56 56 let regex_for_multiple_replace = new RegExp('-', 'g'), 57 cssStyleSelector = '.dynamic_setting_' + el.html_safe_option_id + '_property_' + property_config.property.replace(regex_for_multiple_replace, '_') + '_' + counter 58 59 $(cssStyleSelector).cssUpdate(css_update_args) 57 cssStyleSelector = '.dynamic_setting_' + el.html_safe_option_id + '_property_' + property_config.property.replace(regex_for_multiple_replace, '_') + '_' + counter; 58 59 $(cssStyleSelector).cssUpdate(css_update_args); 60 60 }) 61 61 -
customify/trunk/readme.txt
r1987692 r1990988 46 46 == Changelog == 47 47 48 = 2.3.2 = 49 * Fixed the fact that Customizer style changes were not reflected in the live preview. A problem introduced in the previous update. 50 48 51 = 2.3.1 = 49 52 * Fixed some warnings that appeared in certain situations.
Note: See TracChangeset
for help on using the changeset viewer.