[wp-trac] [WordPress Trac] #23770: Restore 'Locations' meta box functionality as secondary tab in Menus UI

WordPress Trac noreply at wordpress.org
Thu Mar 21 17:00:27 UTC 2013


#23770: Restore 'Locations' meta box functionality as secondary tab in Menus UI
---------------------------------+------------------------
 Reporter:  DrewAPicture         |       Owner:  lessbloat
     Type:  enhancement          |      Status:  assigned
 Priority:  normal               |   Milestone:  3.6
Component:  Menus                |     Version:  trunk
 Severity:  normal               |  Resolution:
 Keywords:  3.6-menus has-patch  |
---------------------------------+------------------------

Comment (by DrewAPicture):

 [attachment:23770.3.diff] opts to forgo extending `WP_List_Table`, instead
 building our own table similarly to how we already do in `update-
 core.php`. This is for a couple of reasons:
 1. We don't use a list table in a global-save capacity any where else in
 the admin.
 2. It's easier to control the layout.
 3. We don't need pagination, search, filtering or most of the other
 benefits `WP_List_Table` affords.

 TODO:
 * Add a nonce for the `locations` action (not sure how to handle this
 because the tab is the action but we're saving via the tab.
 * Add a 'Locations Updated' message.
 * Figure out best placement of the save button(s).
 * Fix hiding edit links for locations with no assigned menu
 * Add contextual help text.
 * Hide the main-tab screen options and/or help text in the locations tab.

 I'd also like to look at listing the number of menus "your theme supports"
 like we did previously in the meta box.

 The table as of [attachment:23770.3.diff]:

 [[Image(http://f.cl.ly/items/2O0p1b0K3X1J160q3u1c/Screen%20Shot%202013-03-21%20at%2010.57.50%20AM.png)]]

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


More information about the wp-trac mailing list