mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 21:29:04 +01:00
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:
parent
52dc84f158
commit
76a6b6c246
@ -311,6 +311,7 @@ switch ( $_GET['action'] ) {
|
|||||||
|
|
||||||
// Common
|
// Common
|
||||||
case 'confirm':
|
case 'confirm':
|
||||||
|
check_admin_referer( 'confirm' );
|
||||||
if ( !headers_sent() ) {
|
if ( !headers_sent() ) {
|
||||||
nocache_headers();
|
nocache_headers();
|
||||||
header( 'Content-Type: text/html; charset=utf-8' );
|
header( 'Content-Type: text/html; charset=utf-8' );
|
||||||
|
Loading…
Reference in New Issue
Block a user