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

git-svn-id: https://develop.svn.wordpress.org/trunk@16547 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2010-11-23 12:10:01 +00:00
parent 66a5b13074
commit ecf96562d6

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' );