Fix upgrade theme nonce.

git-svn-id: http://svn.automattic.com/wordpress/trunk@10924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-04-13 16:26:00 +00:00
parent e3acc800f8
commit 30f16a34a7
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;