From 23a5deba53d7c5a55400602ea1662d575066f491 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 7 Jan 2015 19:50:23 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-customize-manager.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index 556bc60d8b..43859f1dda 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -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, '…' ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index cc93f3145f..a61d23176a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.