[wp-trac] [WordPress Trac] #26946: Decouple the Menu System from Posts and Taxonomies

WordPress Trac noreply at wordpress.org
Thu Feb 27 20:00:54 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 MikeSchinkel):

 Replying to [comment:23 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.

 I was not aware of that, but it's definitely an algorithm to consider for
 future problem solving.

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

 I just have not run into a use-case where that's been an issue.  That's
 why having experience from so many people is helpful because not everyone
 experiences all use-cases and without experience it's hard to appreciate
 why a solution is needed.

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

 Yeah, agreed.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26946#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list