mirror of
git://develop.git.wordpress.org/
synced 2025-04-04 20:23:27 +02:00
Customize: Show sidebar's description below its name in Customizer Widgets sidebar list.
This is part of an effort to reduce `title` attribute usage in WordPress Admin. This changeset updates the Customizer Widgets sidebar list to show sidebar name and description (as these informations may benefit to everyone), and remove the `title` attribute. Follow-up to [22439], [27548], [31513], [32991], [50804], [53414], [59675]. Props karlgroves, sabernhardt, mukesh27, joedolson. Fixes #62836. See #24766. git-svn-id: https://develop.svn.wordpress.org/trunk@59676 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
61b7b9713e
commit
eb50dd7cbf
@ -733,7 +733,10 @@ final class WP_Customize_Widgets {
|
||||
<p class="description">{description}</p>
|
||||
<ul class="widget-area-select">
|
||||
<% _.each( sidebars, function ( sidebar ){ %>
|
||||
<li class="" data-id="<%- sidebar.id %>" title="<%- sidebar.description %>" tabindex="0"><%- sidebar.name %></li>
|
||||
<li class="" data-id="<%- sidebar.id %>" tabindex="0">
|
||||
<div><strong><%- sidebar.name %></strong></div>
|
||||
<div><%- sidebar.description %></div>
|
||||
</li>
|
||||
<% }); %>
|
||||
</ul>
|
||||
<div class="move-widget-actions">
|
||||
|
Loading…
x
Reference in New Issue
Block a user