From 29b1f9a0de396aa7f049719f5bf6f3dd965df754 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Sun, 6 Apr 2014 20:40:15 +0000 Subject: [PATCH] Widget Customizer: Remove leading/trailing whitespace to prevent jQuery migrate warning. props gcorne. fixes #27689. Built from https://develop.svn.wordpress.org/trunk@27973 git-svn-id: http://core.svn.wordpress.org/trunk@27803 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-widgets.php | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/wp-includes/class-wp-customize-widgets.php b/wp-includes/class-wp-customize-widgets.php index b2bacea111..e441305cbc 100644 --- a/wp-includes/class-wp-customize-widgets.php +++ b/wp-includes/class-wp-customize-widgets.php @@ -602,19 +602,17 @@ final class WP_Customize_Widgets { ( 'Select an area to move this widget into:' ), // @todo translate esc_html_x( 'Move', 'move widget' ), ), - ' -
-

{description}

- -
- -
+ '
+

{description}

+
    + <% _.each( sidebars, function ( sidebar ){ %> +
  • <%- sidebar.name %>
  • + <% }); %> +
+
+
- ' +
' ); /*