[wp-trac] [WordPress Trac] #11817: Better Site Menu Management

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 18 14:38:18 UTC 2010


#11817: Better Site Menu Management
----------------------------+-----------------------------------------------
 Reporter:  scribu          |       Owner:           
     Type:  task (blessed)  |      Status:  assigned 
 Priority:  normal          |   Milestone:  3.0      
Component:  General         |     Version:           
 Severity:  normal          |    Keywords:  has-patch
----------------------------+-----------------------------------------------

Comment(by filosofo):

 Replying to [comment:101 ptahdunbar]:
 > It sounds good in theory, but -1 on that idea. Menus are 1) not a post
 type, and 2) shouldn't be in the wp_posts table regardless.

 "post_type" is just a database field.  For a long while, thanks to being
 able to modify "post_type," we've been able to use the "post" object API
 to handle all kinds of things (in projects I've done recently, they
 include calendars, menus, and business directory listings).  Much of the
 recent work on the flexible post_type admin API will make it even easier
 to have non-"post"-link things be stored as a post_type in 3.0.

 In the sense that matters--property isomorphism--"post" objects are much
 like menu objects as conceived by WooThemes: both have textual content,
 titles, associated URLs, hierarchy, IDs, and meta-data.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11817#comment:102>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list