[wp-trac] [WordPress Trac] #23165: Admin validation errors on form nonce element IDs (_wpnonce)

WordPress Trac noreply at wordpress.org
Mon Feb 8 21:37:49 UTC 2021


#23165: Admin validation errors on form nonce element IDs (_wpnonce)
-------------------------------------------------+-------------------------
 Reporter:  bpetty                               |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Security                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-codex has-patch needs-refresh  |     Focuses:
                                                 |  administration
-------------------------------------------------+-------------------------

Comment (by ocean90):

 In [changeset:"50255" 50255]:
 {{{
 #!CommitTicketReference repository="" revision="50255"
 Block Editor: Use a unique name for the nonce of the custom fields toggle
 form.

 Avoids a browser warning for having two elements with a non-unique id
 `#_wpnonce` on the post edit screen.

 See #23165.
 Fixes #51483.
 Props vandestouwe, Mista-Flo.
 }}}

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


More information about the wp-trac mailing list