diff --git a/wp-admin/customize.php b/wp-admin/customize.php index 3cfa0c787b..7828ee4e64 100644 --- a/wp-admin/customize.php +++ b/wp-admin/customize.php @@ -129,10 +129,10 @@ do_action( 'customize_controls_print_scripts' ); $cannot_expand = ! ( $wp_customize->is_theme_active() || $screenshot || $wp_customize->theme()->get('Description') ); ?> -
+
-
+
is_theme_active() ) { /* translators: %s is the theme name in the Customize/Live Preview pane */ @@ -189,7 +189,7 @@ do_action( 'customize_controls_print_scripts' ); /* * If the frontend and the admin are served from the same domain, load the - * preview over ssl if the customizer is being loaded over ssl. This avoids + * preview over ssl if the Customizer is being loaded over ssl. This avoids * insecure content warnings. This is not attempted if the admin and frontend * are on different domains to avoid the case where the frontend doesn't have * ssl certs. Domain mapping plugins can allow other urls in these conditions @@ -226,7 +226,7 @@ do_action( 'customize_controls_print_scripts' ); 'customize-login' => 1 ), wp_login_url() ); - // Prepare customizer settings to pass to Javascript. + // Prepare Customizer settings to pass to Javascript. $settings = array( 'theme' => array( 'stylesheet' => $wp_customize->get_stylesheet(), diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 30dcf0fc09..5304cf809e 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -2029,7 +2029,7 @@ final class WP_Internal_Pointers { } $content = '

' . __( 'New Feature: Live Widget Previews' ) . '

'; - $content .= '

' . __( 'Add, edit, and play around with your widgets from the theme customizer.' ) . ' ' . __( 'Preview your changes in real-time and only save them when you’re ready.' ) . '

'; + $content .= '

' . __( 'Add, edit, and play around with your widgets from the Customizer.' ) . ' ' . __( 'Preview your changes in real-time and only save them when you’re ready.' ) . '

'; if ( 'themes' === get_current_screen()->id ) { $selector = '.theme.active .customize'; diff --git a/wp-admin/js/customize-controls.js b/wp-admin/js/customize-controls.js index 85b171dbe9..30d1bd91bf 100644 --- a/wp-admin/js/customize-controls.js +++ b/wp-admin/js/customize-controls.js @@ -832,7 +832,7 @@ // Limit the URL to internal, front-end links. // // If the frontend and the admin are served from the same domain, load the - // preview over ssl if the customizer is being loaded over ssl. This avoids + // preview over ssl if the Customizer is being loaded over ssl. This avoids // insecure content warnings. This is not attempted if the admin and frontend // are on different domains to avoid the case where the frontend doesn't have // ssl certs. @@ -984,7 +984,7 @@ api.settings = window._wpCustomizeSettings; api.l10n = window._wpCustomizeControlsL10n; - // Check if we can run the customizer. + // Check if we can run the Customizer. if ( ! api.settings ) return; diff --git a/wp-admin/js/customize-widgets.js b/wp-admin/js/customize-widgets.js index 0a3909a534..6be9a0807a 100644 --- a/wp-admin/js/customize-widgets.js +++ b/wp-admin/js/customize-widgets.js @@ -691,7 +691,7 @@ }, /** - * Highlight widgets in preview when interacted with in the customizer + * Highlight widgets in preview when interacted with in the Customizer */ _setupHighlightEffects: function() { var self = this; @@ -1494,7 +1494,7 @@ } ); /** - * Expand other customizer sidebar section when dragging a control widget over it, + * Expand other Customizer sidebar section when dragging a control widget over it, * allowing the control to be dropped into another section */ this.$controlSection.find( '.accordion-section-title' ).droppable({ diff --git a/wp-content/themes/twentyeleven/inc/theme-options.php b/wp-content/themes/twentyeleven/inc/theme-options.php index 1235c49752..b63d058cc7 100644 --- a/wp-content/themes/twentyeleven/inc/theme-options.php +++ b/wp-content/themes/twentyeleven/inc/theme-options.php @@ -499,11 +499,11 @@ function twentyeleven_layout_classes( $existing_classes ) { add_filter( 'body_class', 'twentyeleven_layout_classes' ); /** - * Implements Twenty Eleven theme options into Theme Customizer + * Implements Twenty Eleven theme options into Customizer * * @since Twenty Eleven 1.3 * - * @param object $wp_customize Theme Customizer object. + * @param object $wp_customize Customizer object. */ function twentyeleven_customize_register( $wp_customize ) { $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; @@ -533,7 +533,7 @@ function twentyeleven_customize_register( $wp_customize ) { 'priority' => 5, ) ); - // Link Color (added to Color Scheme section in Theme Customizer) + // Link Color (added to Color Scheme section in Customizer) $wp_customize->add_setting( 'twentyeleven_theme_options[link_color]', array( 'default' => twentyeleven_get_default_link_color( $options['color_scheme'] ), 'type' => 'option', @@ -574,7 +574,7 @@ function twentyeleven_customize_register( $wp_customize ) { add_action( 'customize_register', 'twentyeleven_customize_register' ); /** - * Bind JS handlers to make Theme Customizer preview reload changes asynchronously. + * Bind JS handlers to make Customizer preview reload changes asynchronously. * * Used with blogname and blogdescription. * diff --git a/wp-content/themes/twentyfifteen/inc/customizer.php b/wp-content/themes/twentyfifteen/inc/customizer.php index 92c3fdeda8..2daee26164 100644 --- a/wp-content/themes/twentyfifteen/inc/customizer.php +++ b/wp-content/themes/twentyfifteen/inc/customizer.php @@ -1,6 +1,6 @@ add_section( 'featured_content', array( diff --git a/wp-content/themes/twentyfourteen/js/customizer.js b/wp-content/themes/twentyfourteen/js/customizer.js index 9f323d1da6..10f3340e42 100644 --- a/wp-content/themes/twentyfourteen/js/customizer.js +++ b/wp-content/themes/twentyfourteen/js/customizer.js @@ -1,7 +1,7 @@ /** - * Twenty Fourteen Theme Customizer enhancements for a better user experience. + * Twenty Fourteen Customizer enhancements for a better user experience. * - * Contains handlers to make Theme Customizer preview reload changes asynchronously. + * Contains handlers to make Customizer preview reload changes asynchronously. */ ( function( $ ) { // Site title and description. diff --git a/wp-content/themes/twentythirteen/inc/back-compat.php b/wp-content/themes/twentythirteen/inc/back-compat.php index 329bcaa933..993ef1c6a7 100644 --- a/wp-content/themes/twentythirteen/inc/back-compat.php +++ b/wp-content/themes/twentythirteen/inc/back-compat.php @@ -39,7 +39,7 @@ function twentythirteen_upgrade_notice() { } /** - * Prevent the Theme Customizer from being loaded on WordPress versions prior to 3.6. + * Prevent the Customizer from being loaded on WordPress versions prior to 3.6. * * @since Twenty Thirteen 1.0 */ diff --git a/wp-content/themes/twentythirteen/js/theme-customizer.js b/wp-content/themes/twentythirteen/js/theme-customizer.js index 640db0fa24..0123d3a843 100644 --- a/wp-content/themes/twentythirteen/js/theme-customizer.js +++ b/wp-content/themes/twentythirteen/js/theme-customizer.js @@ -1,7 +1,7 @@ /** - * Theme Customizer enhancements for a better user experience. + * Customizer enhancements for a better user experience. * - * Contains handlers to make Theme Customizer preview reload changes asynchronously. + * Contains handlers to make Customizer preview reload changes asynchronously. * Things like site title and description changes. */ diff --git a/wp-content/themes/twentytwelve/js/theme-customizer.js b/wp-content/themes/twentytwelve/js/theme-customizer.js index bde05d9c51..9dc117f6c3 100644 --- a/wp-content/themes/twentytwelve/js/theme-customizer.js +++ b/wp-content/themes/twentytwelve/js/theme-customizer.js @@ -1,7 +1,7 @@ /** - * Theme Customizer enhancements for a better user experience. + * Customizer enhancements for a better user experience. * - * Contains handlers to make Theme Customizer preview reload changes asynchronously. + * Contains handlers to make Customizer preview reload changes asynchronously. * Things like site title, description, and background color changes. */ diff --git a/wp-includes/class-wp-customize-control.php b/wp-includes/class-wp-customize-control.php index 7ae21c807e..7937d2dc5f 100644 --- a/wp-includes/class-wp-customize-control.php +++ b/wp-includes/class-wp-customize-control.php @@ -152,7 +152,7 @@ class WP_Customize_Control { public function enqueue() {} /** - * Check whether control is active to current customizer preview. + * Check whether control is active to current Customizer preview. * * @since 4.0.0 * @access public diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index c658198e73..febd8bcc8c 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -37,7 +37,7 @@ final class WP_Customize_Manager { protected $previewing = false; /** - * Methods and properties deailing with managing widgets in the customizer. + * Methods and properties deailing with managing widgets in the Customizer. * * @var WP_Customize_Widgets */ @@ -82,7 +82,7 @@ final class WP_Customize_Manager { // Run wp_redirect_status late to make sure we override the status last. add_action( 'wp_redirect_status', array( $this, 'wp_redirect_status' ), 1000 ); - // Do not spawn cron (especially the alternate cron) while running the customizer. + // Do not spawn cron (especially the alternate cron) while running the Customizer. remove_action( 'init', 'wp_cron' ); // Do not run update checks when rendering the controls. @@ -516,7 +516,7 @@ final class WP_Customize_Manager { } /** - * Prints a signature so we can ensure the customizer was properly executed. + * Prints a signature so we can ensure the Customizer was properly executed. * * @since 3.4.0 */ @@ -525,7 +525,7 @@ final class WP_Customize_Manager { } /** - * Removes the signature in case we experience a case where the customizer was not properly executed. + * Removes the signature in case we experience a case where the Customizer was not properly executed. * * @since 3.4.0 */ diff --git a/wp-includes/class-wp-customize-widgets.php b/wp-includes/class-wp-customize-widgets.php index 4413ee6b9d..44982d8aa6 100644 --- a/wp-includes/class-wp-customize-widgets.php +++ b/wp-includes/class-wp-customize-widgets.php @@ -116,7 +116,7 @@ final class WP_Customize_Widgets { /** * Set up widget addition previews. * - * Since the widgets get registered on 'widgets_init' before the customizer + * Since the widgets get registered on 'widgets_init' before the Customizer * settings are set up on 'customize_register', we have to filter the options * similarly to how the setting previewer will filter the options later. * @@ -146,7 +146,7 @@ final class WP_Customize_Widgets { return; } - // Input from customizer preview. + // Input from Customizer preview. if ( isset( $_POST['customized'] ) ) { $this->_customized = json_decode( $this->get_post_value( 'customized' ), true ); } else { // Input from ajax widget update request. @@ -201,7 +201,7 @@ final class WP_Customize_Widgets { /** * Ensure that newly-added widgets will appear in the widgets_sidebars. * - * This is necessary because the customizer's setting preview filters + * This is necessary because the Customizer's setting preview filters * are added after the widgets_init action, which is too late for the * widgets to be set up properly. * @@ -225,7 +225,7 @@ final class WP_Customize_Widgets { * Ensure newly-added widgets have empty instances so they * will be recognized. * - * This is necessary because the customizer's setting preview + * This is necessary because the Customizer's setting preview * filters are added after the widgets_init action, which is * too late for the widgets to be set up properly. * @@ -287,7 +287,7 @@ final class WP_Customize_Widgets { /** * Override sidebars_widgets for theme switch. * - * When switching a theme via the customizer, supply any previously-configured + * When switching a theme via the Customizer, supply any previously-configured * sidebars_widgets from the target theme as the initial sidebars_widgets * setting. Also store the old theme's existing settings so that they can * be passed along for storing in the sidebars_widgets theme_mod when the @@ -313,7 +313,7 @@ final class WP_Customize_Widgets { } /** - * Filter old_sidebars_widgets_data customizer setting. + * Filter old_sidebars_widgets_data Customizer setting. * * When switching themes, filter the Customizer setting * old_sidebars_widgets_data to supply initial $sidebars_widgets before they @@ -388,7 +388,7 @@ final class WP_Customize_Widgets { } /** - * Register customizer settings and controls for all sidebars and widgets. + * Register Customizer settings and controls for all sidebars and widgets. * * @since 3.9.0 * @access public @@ -534,7 +534,7 @@ final class WP_Customize_Widgets { } /** - * Covert a widget_id into its corresponding customizer setting ID (option name). + * Covert a widget_id into its corresponding Customizer setting ID (option name). * * @since 3.9.0 * @access public @@ -556,9 +556,9 @@ final class WP_Customize_Widgets { * Determine whether the widget is considered "wide". * * Core widgets which may have controls wider than 250, but can - * still be shown in the narrow customizer panel. The RSS and Text + * still be shown in the narrow Customizer panel. The RSS and Text * widgets in Core, for example, have widths of 400 and yet they - * still render fine in the customizer panel. This method will + * still render fine in the Customizer panel. This method will * return all Core widgets as being not wide, but this can be * overridden with the is_wide_widget_in_customizer filter. * @@ -664,7 +664,7 @@ final class WP_Customize_Widgets { } /** - * Enqueue scripts and styles for customizer panel and export data to JavaScript. + * Enqueue scripts and styles for Customizer panel and export data to JavaScript. * * @since 3.9.0 * @access public @@ -964,7 +964,7 @@ final class WP_Customize_Widgets { } /** - * Add hooks for the customizer preview. + * Add hooks for the Customizer preview. * * @since 3.9.0 * @access public @@ -982,7 +982,7 @@ final class WP_Customize_Widgets { * Because wp_get_sidebars_widgets() gets called early at init * (via wp_convert_widget_settings()) and can set global variable * $_wp_sidebars_widgets to the value of get_option( 'sidebars_widgets' ) - * before the customizer preview filter is added, we have to reset + * before the Customizer preview filter is added, we have to reset * it after the filter has been added. * * @since 3.9.0 @@ -1039,7 +1039,7 @@ final class WP_Customize_Widgets { */ public function export_preview_data() { - // Prepare customizer settings to pass to Javascript. + // Prepare Customizer settings to pass to Javascript. $settings = array( 'renderedSidebars' => array_fill_keys( array_unique( $this->rendered_sidebars ), true ), 'renderedWidgets' => array_fill_keys( array_keys( $this->rendered_widgets ), true ), diff --git a/wp-includes/js/customize-loader.js b/wp-includes/js/customize-loader.js index 93b8d5a5c5..f0dbfdc8a6 100644 --- a/wp-includes/js/customize-loader.js +++ b/wp-includes/js/customize-loader.js @@ -16,7 +16,7 @@ window.wp = window.wp || {}; * By default, any element in the body with the load-customize class will open * an iframe overlay with the URL specified. * - * e.g. Open customizer + * e.g. Open Customizer * * @augments wp.customize.Events */ @@ -45,7 +45,7 @@ window.wp = window.wp || {}; $('#wpbody').on( 'click', '.load-customize', function( event ) { event.preventDefault(); - // Store a reference to the link that opened the customizer. + // Store a reference to the link that opened the Customizer. Loader.link = $(this); // Load the theme. Loader.open( Loader.link.attr('href') ); @@ -90,7 +90,7 @@ window.wp = window.wp || {}; }, /** - * Open the customizer overlay for a specific URL. + * Open the Customizer overlay for a specific URL. * * @param string src URL to load in the Customizer. */ @@ -108,7 +108,7 @@ window.wp = window.wp || {}; this.active = true; this.body.addClass('customize-loading'); - // Dirty state of customizer in iframe + // Dirty state of Customizer in iframe this.saved = new api.Value( true ); this.iframe = $( '