WordPress.org

Make WordPress Core

Changeset 31069


Ignore:
Timestamp:
01/07/2015 07:49:17 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Customizer: Correctly display "Select" option in Navigation section dropdowns.

props kucrut.
fixes #30929.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r31063 r31069  
    11761176
    11771177        if ( $menus ) {
    1178             $choices = array( 0 => __( '— Select —' ) );
     1178            $choices = array( '' => __( '— Select —' ) );
    11791179            foreach ( $menus as $menu ) {
    11801180                $choices[ $menu->term_id ] = wp_html_excerpt( $menu->name, 40, '…' );
Note: See TracChangeset for help on using the changeset viewer.