Global pagenow. see #7552

git-svn-id: http://svn.automattic.com/wordpress/trunk@8724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-08-25 00:21:38 +00:00
parent 4771eabf6e
commit 834f614a09
1 changed files with 1 additions and 1 deletions

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