diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index 3671915d57..df5ea75d01 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -412,6 +412,7 @@ if ( 'upgrade-core' == $action ) { wp_version_check(); require_once(ABSPATH . 'wp-admin/admin-header.php'); core_upgrade_preamble(); + include(ABSPATH . 'wp-admin/admin-footer.php'); } elseif ( 'do-core-upgrade' == $action || 'do-core-reinstall' == $action ) { check_admin_referer('upgrade-core'); @@ -432,6 +433,8 @@ if ( 'upgrade-core' == $action ) { if ( isset( $_POST['upgrade'] ) ) do_core_upgrade($reinstall); + include(ABSPATH . 'wp-admin/admin-footer.php'); + } elseif ( 'do-plugin-upgrade' == $action ) { if ( ! current_user_can( 'update_plugins' ) ) @@ -459,6 +462,7 @@ if ( 'upgrade-core' == $action ) { echo '