[wp-trac] [WordPress Trac] #51483: 2 elements with non unique id #_wpnonce in post.php
WordPress Trac
noreply at wordpress.org
Thu Oct 8 13:09:47 UTC 2020
#51483: 2 elements with non unique id #_wpnonce in post.php
----------------------------------+-----------------------------
Reporter: vandestouwe | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 5.5.1
Severity: normal | Keywords:
Focuses: ui, coding-standards |
----------------------------------+-----------------------------
In the file post.php when a page is edited 2 element are found to have the
same id.
1. on line 2306: <?php wp_nonce_field( 'toggle-custom-fields'); ?>
2. on line 2424: wp_nonce_field( $nonce_action);
Both forms are active causing a warning on the console of the webbrowser
In the included php file both lines have been given a unique id
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51483>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list