mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Remove $pagenow global from three functions that don’t use it.
Props jeremyfelt. Fixes #24920. git-svn-id: https://develop.svn.wordpress.org/trunk@24974 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -34,7 +34,7 @@ get_admin_page_parent();
|
||||
* @param bool $submenu_as_parent
|
||||
*/
|
||||
function _wp_menu_output( $menu, $submenu, $submenu_as_parent = true ) {
|
||||
global $self, $parent_file, $submenu_file, $plugin_page, $pagenow, $typenow;
|
||||
global $self, $parent_file, $submenu_file, $plugin_page, $typenow;
|
||||
|
||||
$first = true;
|
||||
// 0 = name, 1 = capability, 2 = file, 3 = class, 4 = id, 5 = icon src
|
||||
|
||||
Reference in New Issue
Block a user