[wp-trac] [WordPress Trac] #34375: Change REST nonce key `_wpnonce`

WordPress Trac noreply at wordpress.org
Wed Oct 21 08:13:20 UTC 2015


#34375: Change REST nonce key `_wpnonce`
-----------------------------+-----------------------------
 Reporter:  danielbachhuber  |       Owner:  SergeyBiryukov
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  4.4
Component:  REST API         |     Version:  trunk
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:
-----------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"35323"]:
 {{{
 #!CommitTicketReference repository="" revision="35323"
 REST API: Change nonce name to `_wpnonce`.

 It's shorter and is compatible with the default name in
 `wp_nonce_field()`.

 Props danielbachhuber.
 Fixes #34375.
 }}}

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


More information about the wp-trac mailing list