Move Help menu to the end

git-svn-id: https://develop.svn.wordpress.org/trunk@9094 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-10-07 20:40:21 +00:00
parent 0828ea41d8
commit d31461ceb9
1 changed files with 4 additions and 0 deletions

View File

@ -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 ) {