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
This commit is contained in:
Dominik Schilling (ocean90) 2014-04-06 20:39:33 +00:00
parent 020e3ef811
commit e4d4e0020b

View File

@ -602,19 +602,17 @@ final class WP_Customize_Widgets {
( 'Select an area to move this widget into:' ), // @todo translate ( 'Select an area to move this widget into:' ), // @todo translate
esc_html_x( 'Move', 'move widget' ), esc_html_x( 'Move', 'move widget' ),
), ),
' '<div class="move-widget-area">
<div class="move-widget-area"> <p class="description">{description}</p>
<p class="description">{description}</p> <ul class="widget-area-select">
<ul class="widget-area-select"> <% _.each( sidebars, function ( sidebar ){ %>
<% _.each( sidebars, function ( sidebar ){ %> <li class="" data-id="<%- sidebar.id %>" title="<%- sidebar.description %>" tabindex="0"><%- sidebar.name %></li>
<li class="" data-id="<%- sidebar.id %>" title="<%- sidebar.description %>" tabindex="0"><%- sidebar.name %></li> <% }); %>
<% }); %> </ul>
</ul> <div class="move-widget-actions">
<div class="move-widget-actions"> <button class="move-widget-btn button-secondary" type="button">{btn}</button>
<button class="move-widget-btn button-secondary" type="button">{btn}</button>
</div>
</div> </div>
' </div>'
); );
/* /*