From 30f16a34a7ce141901449aa1acf77d0b16d1a654 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 13 Apr 2009 16:26:00 +0000 Subject: [PATCH] Fix upgrade theme nonce. git-svn-id: http://svn.automattic.com/wordpress/trunk@10924 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/update.php b/wp-admin/update.php index 8470462124..8a39aedb13 100644 --- a/wp-admin/update.php +++ b/wp-admin/update.php @@ -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;