WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#13334 closed defect (bug) (fixed)

The Menus' tab should be alpha-sorted

Reported by: Denis-de-Bernardy Owned by:
Milestone: 3.0 Priority: low
Severity: minor Version: 3.0
Component: Menus Keywords: ux-feedback
Focuses: Cc:

Description

Create menus bcd, abc, and cde. They'll be ordered that way. It would be cleaner if they were ordered as abc, bcd, cde.

Change History (7)

comment:1 @ocean905 years ago

  • Keywords worksforme added

Why they should be ordered? You can order it yourself with drag&drop.

comment:2 @ocean905 years ago

  • Keywords ux-feedback added; worksforme removed

Sry, misunderstanding, ignore my comment.

comment:3 @filosofo5 years ago

The first menu is the one used when none is specified (such as in TwentyTen), so it probably makes sense to allow menu ordering.

comment:4 @ryan5 years ago

Maybe a dropdown next to the menu name with the numbers 1 through n shown only if n > 1. Allow themes to pass 1 - n to their wp_nav_menu() calls.

comment:5 @johnonolan5 years ago

  • Cc john.wp@… added
  • Priority changed from normal to low
  • Severity changed from normal to minor

Dropdown too messy IMO - I think this should either auto-order itself (alpha) or it should be drag an drop with the tabs

comment:6 @ryan5 years ago

#13378 handles the assignment problem. With that I think we can go back to sorting tabs alphabetically.

comment:7 @ryan5 years ago

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

(In [14751]) Order menu tabs by name. Allow passing args to wp_get_nav_menus() which are passed on to get_terms(). Default orderby for wo_get_nav_menus() to none since most requests won't care about order. fixes #13334

Note: See TracTickets for help on using tickets.