Fix upgrade theme nonce.

git-svn-id: https://develop.svn.wordpress.org/trunk@10924 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-04-13 16:26:00 +00:00
parent f2e9b14cb3
commit 2b03edd1a6
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ function do_plugin_upgrade($plugin) {
function do_theme_upgrade($theme) {
global $wp_filesystem;
$url = wp_nonce_url('update.php?action=upgrade-theme&theme=' . urlencode($theme), 'upgrade-plugin_' . urlencode($theme));
$url = wp_nonce_url('update.php?action=upgrade-theme&theme=' . urlencode($theme), 'upgrade-theme_' . urlencode($theme));
if ( false === ($credentials = request_filesystem_credentials($url)) )
return;