[wp-trac] [WordPress Trac] #14044: check_admin_referer is a template tag only
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 17 06:36:44 UTC 2012
#14044: check_admin_referer is a template tag only
-------------------------------------------------+-------------------------
Reporter: hakre | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Security | Version: 3.0
Severity: normal | Resolution: invalid
Keywords: has-patch dev-feedback needs- |
testing gsoc |
-------------------------------------------------+-------------------------
Changes (by nacin):
* status: new => closed
* resolution: => invalid
* milestone: Future Release =>
Comment:
check_admin_referer() only checks the referer if action = -1, which is not
supported.
So the equivalent non-die function is wp_verify_nonce().
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14044#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list