Bring back Overview submenu for Dashboard. Menus without submenus cause bustage with plugin top-levels
git-svn-id: http://svn.automattic.com/wordpress/trunk@9095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
caffda84d4
commit
89d06a43b4
|
@ -23,6 +23,7 @@ $awaiting_mod = wp_count_comments();
|
|||
$awaiting_mod = $awaiting_mod->moderated;
|
||||
|
||||
$menu[0] = array( __('Dashboard'), 'read', 'index.php' );
|
||||
$submenu['index.php'][5] = array( __('Overview'), 'read' , 'index.php' );
|
||||
|
||||
$menu[5] = array( __('Posts'), 'edit_posts', 'post-new.php', 'wp-menu-open' );
|
||||
$submenu['post-new.php'][5] = array( __('Add New'), 'edit_posts', 'post-new.php' );
|
||||
|
|
Loading…
Reference in New Issue