From ced1630496afb9cdafc401bc4f12e448fe84d818 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Tue, 24 Feb 2015 03:00:54 +0000 Subject: [PATCH] Upgrades: Specifically pass the 'version' and 'locale' POST vars through the Core Update FTP credentials form. This bug was introduced with [30384] / #30245 Fixes #31378 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@31527 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/update-core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php index 6681eb53d4..c469120f81 100644 --- a/src/wp-admin/update-core.php +++ b/src/wp-admin/update-core.php @@ -392,14 +392,14 @@ function do_core_upgrade( $reinstall = false ) {

'; return; } if ( ! WP_Filesystem( $credentials, ABSPATH, $allow_relaxed_file_ownership ) ) { // Failed to connect, Error and request again - request_filesystem_credentials( $url, '', true, ABSPATH, array(), $allow_relaxed_file_ownership ); + request_filesystem_credentials( $url, '', true, ABSPATH, array( 'version', 'locale' ), $allow_relaxed_file_ownership ); echo ''; return; }