[wp-trac] [WordPress Trac] #26946: Decouple the Menu System from Posts and Taxonomies
WordPress Trac
noreply at wordpress.org
Thu Feb 27 08:44:29 UTC 2014
#26946: Decouple the Menu System from Posts and Taxonomies
--------------------------------------------------+----------------------
Reporter: MikeSchinkel | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Menus | Version: trunk
Severity: normal | Resolution: wontfix
Keywords: needs-patch dev-feedback 2nd-opinion | Focuses:
--------------------------------------------------+----------------------
Comment (by mbijon):
Nested sets are one name for recursive models with left & right ranges,
plus possibly a depth column:
http://en.wikipedia.org/wiki/Nested_set_model. There are a number of
places that could make things more-efficient. Menus are one, comments are
probably another. The downside is either new tables or violating your item
#10 about extra fields in rows, and loads of new model code.
I'm surprised you didn't mention collisions in $priority for
add_menu_page(). It's frustrating that we don't have a stack that can
handle overlapping priorities.
Regardless, seems like a set of tickets to cover these and a bunch of
small commits might at least refactor the API enough that a schema change
could work. I'd help with some of those before trying to code a new
schema.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26946#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list