From 30f5099d4f1f5c509ee3142ce397706dcbf578a2 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 25 Aug 2008 00:21:38 +0000 Subject: [PATCH] Global pagenow. see #7552 git-svn-id: https://develop.svn.wordpress.org/trunk@8724 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/menu-header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/menu-header.php b/wp-admin/menu-header.php index c9ad0e0e3b..311f3529fb 100644 --- a/wp-admin/menu-header.php +++ b/wp-admin/menu-header.php @@ -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