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

WordPress Trac noreply at wordpress.org
Sun Jan 26 20:36: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):

 > But we shouldn't just switch and start to build and maintain yet another
 system. IMHO everything in WP should rely on CPTs and Taxonomies - even
 admin pages and the admin menu.

 I used to think that, but after lots of attempts to use them in my own
 system I'm moving away from that. If you overload them too much you end up
 with a very fragile system where it's far too easy to break something when
 you are working on something else.

 > And I'm hardly against serialized arrays and even more against
 serialized arrays in tables and completely against stuffing menu items in
 the objects table.

 I am usually against serialized arrays being stored in the database
 because most things really do need to be processable by SQL.  But for
 menus I've yet to find myself in a position where I've needed to process
 menus using SQL ''(other than that's how WordPress currently works.)''
 I'm not saying reasons do not exist but simply that I've not seen them and
 one of the reasons for this ticket is to hear from others if there are
 indeed reasons that serialization does not fit this use-case.

 > I hope I don't need to, but I'm able to elaborate that in detail.

 Please do.

 > Very true, that. But to be honest: It doesn't only need "love on the
 internals". It should be rewritten from scratch. No one can fix that mess.

 That I agree with.

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


More information about the wp-trac mailing list