Fire the check_admin_referer action on failure as well as success.

This enables things like logging nonce failures in the admin.

props markjaquith.
fixes #32207.

Built from https://develop.svn.wordpress.org/trunk@33017


git-svn-id: http://core.svn.wordpress.org/trunk@32988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí
2015-07-01 03:37:23 +00:00
parent 8eb7f71e6b
commit 275bff1895
2 changed files with 7 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-33016';
$wp_version = '4.3-alpha-33017';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.