Opened 3 years ago

Closed 3 years ago

#13334 closed defect (bug) (fixed)

The Menus' tab should be alpha-sorted

Reported by: Denis-de-Bernardy Owned by:
Priority: low Milestone: 3.0
Component: Menus Version: 3.0
Severity: minor Keywords: ux-feedback
Cc: john.wp@…

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)

  • Keywords worksforme added

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

  • Keywords ux-feedback added; worksforme removed

Sry, misunderstanding, ignore my comment.

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   ryan3 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.

  • 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   ryan3 years ago

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

comment:7   ryan3 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.