Remove unused code. props nofearinc. fixes #26205.

Built from https://develop.svn.wordpress.org/trunk@27033


git-svn-id: http://core.svn.wordpress.org/trunk@26909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2014-01-26 00:12:11 +00:00
parent 7ef7a7cb47
commit 496c05f1e9
1 changed files with 0 additions and 9 deletions

View File

@ -1461,15 +1461,6 @@ function get_admin_page_parent( $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 ) ) {
foreach ( (array)$menu as $parent_menu ) {
if ( $parent_menu[2] == $plugin_page ) {