[wp-trac] [WordPress Trac] #24063: Introduce some more _doing_it_wrong() calls in nonce functions

WordPress Trac noreply at wordpress.org
Fri Feb 28 22:08:18 UTC 2014


#24063: Introduce some more _doing_it_wrong() calls in nonce functions
-------------------------+----------------------
 Reporter:  johnbillion  |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Security     |     Version:  3.2
 Severity:  normal       |  Resolution:  wontfix
 Keywords:  has-patch    |     Focuses:
-------------------------+----------------------
Changes (by johnbillion):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 I'll have to agree with Sergey here, displaying a notice inside an
 attribute would break the layout. We can't even just do it in
 `wp_nonce_field()` because its value can be returned instead of echoed and
 a notice may show up in an unwanted place.

 This is a wontfix unless anyone has any better ideas.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24063#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list