mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Ensure the last separator is removed from the user and network admin menus.
props johnjamesjacoby. fixes #25425. git-svn-id: https://develop.svn.wordpress.org/trunk@27066 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -58,6 +58,6 @@ unset($update_data);
|
||||
$submenu[ 'upgrade.php' ][10] = array( __( 'Available Updates' ), 'update_core', 'update-core.php' );
|
||||
$submenu[ 'upgrade.php' ][15] = array( __( 'Upgrade Network' ), 'manage_network', 'upgrade.php' );
|
||||
|
||||
$menu[99] = array( '', 'read', 'separator-last', '', 'wp-menu-separator-last' );
|
||||
$menu[99] = array( '', 'exist', 'separator-last', '', 'wp-menu-separator' );
|
||||
|
||||
require_once(ABSPATH . 'wp-admin/includes/menu.php');
|
||||
|
||||
Reference in New Issue
Block a user