Global pagenow. see #7552

git-svn-id: https://develop.svn.wordpress.org/trunk@8724 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-08-25 00:21:38 +00:00
parent 73af28f02b
commit 30f5099d4f

View File

@ -21,7 +21,7 @@ global $menu, $submenu, $parent_file; //For when admin-header is included from w
get_admin_page_parent();
function _wp_menu_output( &$menu, &$submenu, $submenu_as_parent = true ) {
global $self, $parent_file, $submenu_file, $plugin_page;
global $self, $parent_file, $submenu_file, $plugin_page, $pagenow;
$first = true;
// 0 = name, 1 = capability, 2 = file, 3 = class