mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
66a5b13074
commit
ecf96562d6
@ -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' );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user