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:
ryan 2008-09-14 05:49:09 +00:00
parent 34a70f8d85
commit b51249a60f

View File

@ -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;