Fix menu parents. see #8421

git-svn-id: https://develop.svn.wordpress.org/trunk@9967 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-11-29 18:09:09 +00:00
parent 10a97c635b
commit cc11baaae0
8 changed files with 12 additions and 11 deletions
+3 -3
View File
@@ -195,14 +195,14 @@ $action = isset($_GET['action']) ? $_GET['action'] : 'upgrade-core';
if ( 'upgrade-core' == $action ) {
$title = __('Upgrade WordPress');
$parent_file = 'index.php';
$parent_file = 'tools.php';
require_once('admin-header.php');
core_upgrade_preamble();
include('admin-footer.php');
} elseif ( 'do-core-upgrade' == $action ) {
check_admin_referer('upgrade-core');
$title = __('Upgrade WordPress');
$parent_file = 'index.php';
$parent_file = 'tools.php';
// do the (un)dismiss actions before headers,
// so that they can redirect
if ( isset( $_POST['dismiss'] ) )
@@ -213,4 +213,4 @@ if ( 'upgrade-core' == $action ) {
if ( isset( $_POST['upgrade'] ) )
do_core_upgrade();
include('admin-footer.php');
}?>
}?>