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:
parent
0828ea41d8
commit
d31461ceb9
@ -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
Block a user