plugin_page fix from Owen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e2e74cf4b9
commit
17707c8a55
|
@ -45,7 +45,7 @@ require(ABSPATH . '/wp-admin/menu.php');
|
|||
// Handle plugin admin pages.
|
||||
if (isset($_GET['page'])) {
|
||||
$plugin_page = stripslashes($_GET['page']);
|
||||
$plugin_page = plugin_basename($_GET['page']);
|
||||
$plugin_page = plugin_basename($plugin_page);
|
||||
$page_hook = get_plugin_page_hook($plugin_page, $pagenow);
|
||||
|
||||
if ( $page_hook ) {
|
||||
|
|
Loading…
Reference in New Issue