Introduce create_posts meta capability. Props scribu, nacin, casben79. see #16714
git-svn-id: http://core.svn.wordpress.org/trunk@22060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -49,7 +49,7 @@ $menu[4] = array( '', 'read', 'separator1', '', 'wp-menu-separator' );
|
||||
$menu[5] = array( __('Posts'), 'edit_posts', 'edit.php', '', 'open-if-no-js menu-top menu-icon-post', 'menu-posts', 'none' );
|
||||
$submenu['edit.php'][5] = array( __('All Posts'), 'edit_posts', 'edit.php' );
|
||||
/* translators: add new post */
|
||||
$submenu['edit.php'][10] = array( _x('Add New', 'post'), 'edit_posts', 'post-new.php' );
|
||||
$submenu['edit.php'][10] = array( _x('Add New', 'post'), 'create_posts', 'post-new.php' );
|
||||
|
||||
$i = 15;
|
||||
foreach ( get_taxonomies( array(), 'objects' ) as $tax ) {
|
||||
|
||||
Reference in New Issue
Block a user