Ticket #26205: 26205.patch
File 26205.patch, 589 bytes (added by , 10 years ago) |
---|
-
wp-admin/includes/plugin.php
1457 1457 return $parent; 1458 1458 } 1459 1459 1460 /*1461 if ( !empty ( $parent_file ) ) {1462 if ( isset( $_wp_real_parent_file[$parent_file] ) )1463 $parent_file = $_wp_real_parent_file[$parent_file];1464 1465 return $parent_file;1466 }1467 */1468 1469 1460 if ( $pagenow == 'admin.php' && isset( $plugin_page ) ) { 1470 1461 foreach ( (array)$menu as $parent_menu ) { 1471 1462 if ( $parent_menu[2] == $plugin_page ) {