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

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 21 00:39:24 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 ryan):

 Schema overview (not all of this is implemented yet):

 Menu items are posts table entries with a post_type of 'menu_item'.

 Menus are terms in the 'menu' taxonomy. Menu items are assigned the term
 for the menu that contains them.

 posts->parent is 0 for top-level menu items.  For sub menu items, parent
 point to the parent menu item.

 menu_type is added to postmeta for the menu item and notes what type of
 menu item it is (page | category | custom).

 object_id is added to postmeta for the menu item and points to the page or
 category associated with the menu item.

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


More information about the wp-trac mailing list