[wp-trac] [WordPress Trac] #17516: Add Favorite Actions to Admin Bar

WordPress Trac wp-trac at lists.automattic.com
Thu May 19 18:55:48 UTC 2011


#17516: Add Favorite Actions to Admin Bar
----------------------------+------------------------------
 Reporter:  technosailor    |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------------------

Comment (by nacin):

 Per IRC discussion - cap check should go, as each favorite action has its
 own cap check. If the user doesn't have caps for any action, then the menu
 shouldn't be added.

 I think we should cripple favorite_actions() to only return actions that
 were added via a filter. That way we offer some backwards compatibility
 without offering duplication. Otherwise, the various actions under "Add
 New" replace the core links, as well as the screen-dependent "Edit X"
 being added in #17499.

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


More information about the wp-trac mailing list