mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
More Favorites
git-svn-id: http://svn.automattic.com/wordpress/trunk@9876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4958a075d1
commit
da7ebeb3a5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user