[wp-trac] [WordPress Trac] #29542: hash_equals throws a fatal error (hhvm) when a nonce is sent as an integer

WordPress Trac noreply at wordpress.org
Wed Nov 26 19:20:56 UTC 2014


#29542: hash_equals throws a fatal error (hhvm) when a nonce is sent as an integer
-------------------------------------+---------------------
 Reporter:  newleaves                |       Owner:
     Type:  defect (bug)             |      Status:  closed
 Priority:  low                      |   Milestone:  4.1
Component:  Plugins                  |     Version:  4.0
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------
Changes (by ocean90):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"30576"]:
 {{{
 #!CommitTicketReference repository="" revision="30576"
 Type cast `$nonce` to string in `wp_verify_nonce()`.

 props jesin.
 fixes #29542.
 }}}

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


More information about the wp-trac mailing list