[wp-trac] [WordPress Trac] #16683: Nonce failure error message causes a warning, and also ugly error.

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 27 07:25:36 UTC 2011


#16683: Nonce failure error message causes a warning, and also ugly error.
----------------------------+-----------------------------
 Reporter:  dd32            |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+-----------------------------

Comment (by garyc40):

 solarissmoke's patch doesn't address the root of the problem.

 `wp_explain_nonce` assumes that all nonce action has an `_extra` part.

 Reproducing this issue is easier if you add `$result = false;` after line
 837 in `check_admin_referer()`.

 See [attachment:16683.2.2.diff] .

 Please ignore [attachment:16683.2.diff] or delete it, there's a typo.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16683#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list