Move Help menu to the end
git-svn-id: http://svn.automattic.com/wordpress/trunk@9094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a09cff5399
commit
caffda84d4
|
@ -151,6 +151,10 @@ foreach ( $menu as $id => $data ) {
|
|||
|
||||
do_action('admin_menu', '');
|
||||
|
||||
// Move the help menu to the end
|
||||
$menu[] = $menu[55];
|
||||
unset($menu[55]);
|
||||
|
||||
// Remove menus that have no accessible submenus and require privs that the user does not have.
|
||||
// Run re-parent loop again.
|
||||
foreach ( $menu as $id => $data ) {
|
||||
|
|
Loading…
Reference in New Issue