mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user