Customizer: Add label for menu names when editing a menu.

Props celloexpressions.
Fixes #32726.



git-svn-id: https://develop.svn.wordpress.org/trunk@33346 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Konstantin Obenland
2015-07-21 17:01:25 +00:00
parent 940b06cff2
commit 5afdbfdb01
3 changed files with 5 additions and 1 deletions
@@ -1880,6 +1880,9 @@ class WP_Customize_Nav_Menu_Name_Control extends WP_Customize_Control {
protected function content_template() {
?>
<label>
<# if ( data.label ) { #>
<span class="customize-control-title screen-reader-text">{{ data.label }}</span>
<# } #>
<input type="text" class="menu-name-field live-update-section-title" />
</label>
<?php