mirror of
git://develop.git.wordpress.org/
synced 2025-02-23 16:15:31 +01:00
Customizer: Correctly display "Select" option in Navigation section dropdowns.
props kucrut. fixes #30929. git-svn-id: https://develop.svn.wordpress.org/trunk@31069 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c99a082e25
commit
bac33e9a17
@ -1175,7 +1175,7 @@ final class WP_Customize_Manager {
|
||||
) );
|
||||
|
||||
if ( $menus ) {
|
||||
$choices = array( 0 => __( '— Select —' ) );
|
||||
$choices = array( '' => __( '— Select —' ) );
|
||||
foreach ( $menus as $menu ) {
|
||||
$choices[ $menu->term_id ] = wp_html_excerpt( $menu->name, 40, '…' );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user