mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 18:01:42 +01:00
Fix core upgrade redirect. Props DD32. fixes #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
34a70f8d85
commit
b51249a60f
@ -112,7 +112,7 @@ function core_upgrade_preamble() {
|
||||
function do_core_upgrade() {
|
||||
global $wp_filesystem;
|
||||
|
||||
$url = wp_nonce_url("update.php?action=upgrade-core", "upgrade-core");
|
||||
$url = wp_nonce_url('update.php?action=do-core-upgrade', 'upgrade-core');
|
||||
if ( false === ($credentials = request_filesystem_credentials($url)) )
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user