[wp-trac] [WordPress Trac] #24030: Add an action for when nonce verification fails
WordPress Trac
noreply at wordpress.org
Tue Feb 11 02:29:29 UTC 2014
#24030: Add an action for when nonce verification fails
--------------------------------------+-----------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Security | Version: 3.4.1
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+-----------------------------
Changes (by Shelob9):
* keywords: needs-patch good-first-bug => good-first-bug has-patch
Comment:
I'm presuming that the very complex filter that was removed in 21133 was
removed for its complexity, so I have created a very simple action. I used
it successfully to log actions that failed because the nonce wasn't
correct. My specific test was copying the link for switching to the theme
to Twenty Eleven, and removing the last character from the nonce string
before submitting it. I was able to log 'switch-theme_twentyeleven' using
the action added in my patch 24030.diff
If something more complicated is needed, please let me know and I will
take a stab at it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24030#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list