Add a nonce check on the confirm links in the Network Admin stage one.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2010-11-23 12:10:01 +00:00
parent 52dc84f158
commit 76a6b6c246
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ switch ( $_GET['action'] ) {
// Common
case 'confirm':
check_admin_referer( 'confirm' );
if ( !headers_sent() ) {
nocache_headers();
header( 'Content-Type: text/html; charset=utf-8' );