Dashboard menu should be open by default
git-svn-id: https://develop.svn.wordpress.org/trunk@9096 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3eecfcc1f6
commit
68da753b35
|
@ -22,7 +22,7 @@
|
||||||
$awaiting_mod = wp_count_comments();
|
$awaiting_mod = wp_count_comments();
|
||||||
$awaiting_mod = $awaiting_mod->moderated;
|
$awaiting_mod = $awaiting_mod->moderated;
|
||||||
|
|
||||||
$menu[0] = array( __('Dashboard'), 'read', 'index.php' );
|
$menu[0] = array( __('Dashboard'), 'read', 'index.php', 'wp-menu-open' );
|
||||||
$submenu['index.php'][5] = array( __('Overview'), 'read' , 'index.php' );
|
$submenu['index.php'][5] = array( __('Overview'), 'read' , 'index.php' );
|
||||||
|
|
||||||
$menu[5] = array( __('Posts'), 'edit_posts', 'post-new.php', 'wp-menu-open' );
|
$menu[5] = array( __('Posts'), 'edit_posts', 'post-new.php', 'wp-menu-open' );
|
||||||
|
|
Loading…
Reference in New Issue