WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 3 months ago

#14333 closed enhancement

Remove page order UI — at Version 6

Reported by: ramiy Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Posts, Post Types Keywords: has-patch good-first-bug
Focuses: ui, javascript, administration Cc:

Description (last modified by scribu)

Unkile posts, in pages we can order and re-order the pages (using "menu_order" field in "wp_posts" table).

But since the new "Custom Menu" feature was introduced, do we realy need the page ordering?

We can create new menus, add as many pages as we like and re-order them as we like (this is the purpose of menues).

If we can do this using menus, then we can delete the ordering feature from the page edit sub-pannel (and delete the "menu_order" field from the "wp_posts" table in wp database).

Please the join the discussion below, and tell us what is your opinion.

Change History (6)

comment:1 scribu4 years ago

  • Milestone changed from Awaiting Review to Future Release

It's way too early to be thinking about this. There are a many many themes that don't support menus yet.

comment:2 knutsp4 years ago

Too early to remove this column from the database. But since WorPress knows if the active theme supports menus, and if there is at least one menu created, the UI field for the menu order of a page may be removed in the case. A theme or a plugin may also bring the UI back, even if the theme supports menus, but no menues are yet created.

A visible "menu order" for pages may be misleading and confusing for new users of WordPress, using Twenty Ten or another menu aware theme, not knowing the history of WordPress.

This dependant UI removal may be a way to prepare for a future removal of the menu_order column. WordPress 3.0 made this field practically obsolete. Some day it should be marked as such and then removed.

comment:3 ramiy3 years ago

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

comment:4 jameslaws3 years ago

Just wanted to throw my two cents in, I don't think this should ever be removed. There are way to many uses for the menu_order for automated listing where you don't want to have to create menus each time. Sometimes listing the pages is the best method but menu order is still the sorting method.

Just my opinion.

comment:5 scribu3 years ago

  • Resolution wontfix deleted
  • Status changed from closed to reopened

Although the menu_order field probably isn't going away, I agree that the curret UI should be removed.

Besides being redundant now, it was never very user friendly in the first place.

comment:6 scribu3 years ago

  • Component changed from Database to Administration
  • Description modified (diff)
  • Summary changed from Database: Since the new "Custom Menu" feauter do we need the page order? to Remove page order UI

Gonna repurpose this ticket.

Note: See TracTickets for help on using tickets.