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:
ryan 2008-10-07 20:40:21 +00:00
parent a09cff5399
commit caffda84d4
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 ) {