WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#30929 closed defect (bug) (fixed)

Inconsistent UI in Customizer > Navigaton

Reported by: kucrut Owned by:
Milestone: 4.2 Priority: normal
Severity: normal Version:
Component: Customize Keywords: has-patch
Focuses: ui Cc:

Description

On a new install or after activating a theme that supports menu locations, the menu dropdowns on the Navigation section have empty options selected, while — Select — should be selected instead.

Attachments (1)

30929.diff (568 bytes) - added by kucrut 6 years ago.
Use empty string as default option's value instead of 0.

Download all attachments as: .zip

Change History (6)

@kucrut
6 years ago

Use empty string as default option's value instead of 0.

#1 @kucrut
6 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
6 years ago

  • Milestone changed from Awaiting Review to 4.2

#3 follow-up: @SergeyBiryukov
6 years ago

30929.diff works as expected.

Any idea why it works without the patch on the Menus screen?

#4 in reply to: ↑ 3 @kucrut
6 years ago

Replying to SergeyBiryukov:

30929.diff works as expected.

Any idea why it works without the patch on the Menus screen?

I believe it's because on the Customizer screen, the option is actually selected by JS, while on the Menu Locations screen, the browser simply displays the first option (nothing is selected).

#5 @SergeyBiryukov
6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

[31069] missed the ticket.

Note: See TracTickets for help on using tickets.