[wp-trac] [WordPress Trac] #51483: 2 elements with non unique id #_wpnonce in post.php
WordPress Trac
noreply at wordpress.org
Mon Feb 8 21:37:49 UTC 2021
#51483: 2 elements with non unique id #_wpnonce in post.php
--------------------------+----------------------
Reporter: vandestouwe | Owner: ocean90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.7
Component: Editor | Version: 5.0
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+----------------------
Changes (by ocean90):
* owner: (none) => ocean90
* status: new => closed
* resolution: => fixed
Comment:
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/51483#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list