Remove unused code. props nofearinc. fixes #26205.
git-svn-id: https://develop.svn.wordpress.org/trunk@27033 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a103600054
commit
88277b4dba
@ -1461,15 +1461,6 @@ function get_admin_page_parent( $parent = '' ) {
|
|||||||
return $parent;
|
return $parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
if ( !empty ( $parent_file ) ) {
|
|
||||||
if ( isset( $_wp_real_parent_file[$parent_file] ) )
|
|
||||||
$parent_file = $_wp_real_parent_file[$parent_file];
|
|
||||||
|
|
||||||
return $parent_file;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
if ( $pagenow == 'admin.php' && isset( $plugin_page ) ) {
|
if ( $pagenow == 'admin.php' && isset( $plugin_page ) ) {
|
||||||
foreach ( (array)$menu as $parent_menu ) {
|
foreach ( (array)$menu as $parent_menu ) {
|
||||||
if ( $parent_menu[2] == $plugin_page ) {
|
if ( $parent_menu[2] == $plugin_page ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user