[wp-trac] Re: [WordPress Trac] #7931: Shortcuts/favorites menu bug

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 30 00:31:48 GMT 2008


#7931: Shortcuts/favorites menu bug
--------------------------+-------------------------------------------------
 Reporter:  janeforshort  |        Owner:     
     Type:  enhancement   |       Status:  new
 Priority:  normal        |    Milestone:  2.7
Component:  UI            |      Version:     
 Severity:  normal        |   Resolution:     
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by azaozz):

 The actions are an array: url => array ( title, user capability )
 {{{
 $actions = array(
                 'post-new.php' => array(__('Add New Post'), 'edit_posts'),
                 'page-new.php' => array(__('Add New Page'), 'edit_pages'),
                 'edit-comments.php' => array(__('Manage Comments'),
 'moderate_comments')
                 );

         $actions = apply_filters('favorite_actions', $actions);
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7931#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list