From e4d4e0020b548d3445a031a6291bcd274d0db522 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Sun, 6 Apr 2014 20:39:33 +0000 Subject: [PATCH] Widget Customizer: Remove leading/trailing whitespace to prevent jQuery migrate warning. props gcorne. fixes #27689. git-svn-id: https://develop.svn.wordpress.org/trunk@27973 602fd350-edb4-49c9-b593-d223f7449a82 --- .../class-wp-customize-widgets.php | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/wp-includes/class-wp-customize-widgets.php b/src/wp-includes/class-wp-customize-widgets.php index b2bacea111..e441305cbc 100644 --- a/src/wp-includes/class-wp-customize-widgets.php +++ b/src/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 %>
  • + <% }); %> +
+
+
- ' +
' ); /*