Fix typo in Menu redirect, props filosofo, fixes #8422

git-svn-id: https://develop.svn.wordpress.org/trunk@9962 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2008-11-29 07:53:53 +00:00
parent 89ba87084f
commit 5573ff5349
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ if (isset($plugin_page)) {
$page_hook = get_plugin_page_hook($plugin_page, $plugin_page); $page_hook = get_plugin_page_hook($plugin_page, $plugin_page);
// backwards compatibility for plugins using add_management_page // backwards compatibility for plugins using add_management_page
if ( empty( $page_hook ) && 'edit.php' == $pagenow && '' != get_plugin_page_hook($plugin_page, 'tools.php') ) { if ( empty( $page_hook ) && 'edit.php' == $pagenow && '' != get_plugin_page_hook($plugin_page, 'tools.php') ) {
wp_redirect('tool.php?page=' . $plugin_page); wp_redirect('tools.php?page=' . $plugin_page);
exit; exit;
} }
} }