Customizer: Correctly display "Select" option in Navigation section dropdowns.
props kucrut. fixes #30929. Built from https://develop.svn.wordpress.org/trunk@31069 git-svn-id: http://core.svn.wordpress.org/trunk@31050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
833c148bb5
commit
23a5deba53
|
@ -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, '…' );
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31068';
|
||||
$wp_version = '4.2-alpha-31069';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue