From 78c26017c6d6a087f3ca1b19995a31b1a85f273d Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Fri, 7 Nov 2014 17:20:22 +0000 Subject: [PATCH] Twenty Fifteen: improve naming and documentation of customizer js files to match core filenaming conventions. Props celloexpressions, fixes #30160. Built from https://develop.svn.wordpress.org/trunk@30271 git-svn-id: http://core.svn.wordpress.org/trunk@30271 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfifteen/inc/customizer.php | 2 +- wp-content/themes/twentyfifteen/js/color-scheme-control.js | 4 +--- .../twentyfifteen/js/{customizer.js => customize-preview.js} | 4 +--- wp-includes/version.php | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) rename wp-content/themes/twentyfifteen/js/{customizer.js => customize-preview.js} (70%) diff --git a/wp-content/themes/twentyfifteen/inc/customizer.php b/wp-content/themes/twentyfifteen/inc/customizer.php index 87636e7724..e8821440db 100644 --- a/wp-content/themes/twentyfifteen/inc/customizer.php +++ b/wp-content/themes/twentyfifteen/inc/customizer.php @@ -655,6 +655,6 @@ add_action( 'customize_controls_enqueue_scripts', 'twentyfifteen_customize_contr * @since Twenty Fifteen 1.0 */ function twentyfifteen_customize_preview_js() { - wp_enqueue_script( 'twentyfifteen-customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20141005', true ); + wp_enqueue_script( 'twentyfifteen-customize-preview', get_template_directory_uri() . '/js/customize-preview.js', array( 'customize-preview' ), '20141029', true ); } add_action( 'customize_preview_init', 'twentyfifteen_customize_preview_js' ); \ No newline at end of file diff --git a/wp-content/themes/twentyfifteen/js/color-scheme-control.js b/wp-content/themes/twentyfifteen/js/color-scheme-control.js index 7480e57116..c045c40a80 100644 --- a/wp-content/themes/twentyfifteen/js/color-scheme-control.js +++ b/wp-content/themes/twentyfifteen/js/color-scheme-control.js @@ -1,8 +1,6 @@ /* global colorScheme */ /** - * Customizer enhancements for a better user experience. - * - * Adds listener to Color Scheme control to update other color controls with new values/defaults + * Add a listener to the Color Scheme control to update other color controls to new values/defaults. */ ( function( api ) { diff --git a/wp-content/themes/twentyfifteen/js/customizer.js b/wp-content/themes/twentyfifteen/js/customize-preview.js similarity index 70% rename from wp-content/themes/twentyfifteen/js/customizer.js rename to wp-content/themes/twentyfifteen/js/customize-preview.js index 0aa9728d53..7bfbf5d6bc 100644 --- a/wp-content/themes/twentyfifteen/js/customizer.js +++ b/wp-content/themes/twentyfifteen/js/customize-preview.js @@ -1,7 +1,5 @@ /** - * Customizer enhancements for a better user experience. - * - * Contains handlers to make Customizer preview reload changes asynchronously. + * Live-update changed settings in real time in the Customizer preview. */ ( function( $ ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index ca01fdd02e..a51e1c36f0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-alpha-30270'; +$wp_version = '4.1-alpha-30271'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.