Make WordPress Core

Opened 10 years ago

Closed 10 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:


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)

#1 @ocean90
10 years ago

  • Keywords worksforme added

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

#2 @ocean90
10 years ago

  • Keywords ux-feedback added; worksforme removed

Sry, misunderstanding, ignore my comment.

#3 @filosofo
10 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.

#4 @ryan
10 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.

#5 @johnonolan
10 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

#6 @ryan
10 years ago

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

#7 @ryan
10 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.