mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 10:44:26 +00:00
Menu back-compat fixes. see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8708 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -616,8 +616,8 @@ function get_plugin_page_hookname( $plugin_page, $parent_page ) {
|
||||
else
|
||||
if ( isset( $admin_page_hooks[$parent] ))
|
||||
$page_type = $admin_page_hooks[$parent];
|
||||
} else if ( isset( $admin_page_hooks[$parent_page] ) ) {
|
||||
$page_type = $admin_page_hooks[$parent_page];
|
||||
} else if ( isset( $admin_page_hooks[$parent] ) ) {
|
||||
$page_type = $admin_page_hooks[$parent];
|
||||
}
|
||||
|
||||
$plugin_name = preg_replace( '!\.php!', '', $plugin_page );
|
||||
|
||||
Reference in New Issue
Block a user