diff --git a/wp-admin/menu-header.php b/wp-admin/menu-header.php index 71536a1ab..9a06ea166 100644 --- a/wp-admin/menu-header.php +++ b/wp-admin/menu-header.php @@ -40,8 +40,8 @@ else if (isset($submenu_file) && $submenu_file == substr($item[2], -10)) $class else $class = ''; if (file_exists(ABSPATH . "wp-content/plugins/{$item[2]}")) { - $page_hook = get_plugin_page_hook($item[2], $parent_file); - if ( $page_hook ) + $menu_hook = get_plugin_page_hook($item[2], $parent_file); + if ( $menu_hook ) echo "\n\t