More Favorites

git-svn-id: http://svn.automattic.com/wordpress/trunk@9876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-25 19:16:22 +00:00
parent 4958a075d1
commit da7ebeb3a5

View File

@ -3080,9 +3080,11 @@ function the_post_password() {
*/
function favorite_actions() {
$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')
'post-new.php' => array(__('New Post'), 'edit_posts'),
'edit.php?post_status=draft' => array(__('Drafts'), 'edit_posts'),
'page-new.php' => array(__('New Page'), 'edit_pages'),
'media-new.php' => array(__('Upload'), 'upload_files'),
'edit-comments.php' => array(__('Comments'), 'moderate_comments')
);
$actions = apply_filters('favorite_actions', $actions);