More Favorites

git-svn-id: https://develop.svn.wordpress.org/trunk@9876 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-11-25 19:16:22 +00:00
parent c8fc5732c2
commit 96b3c821fe
1 changed files with 5 additions and 3 deletions

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);