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

WordPress Trac noreply at wordpress.org
Fri Dec 6 17:04:04 UTC 2019


#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 aduth):

 It appears that latest versions of Chrome Canary will now emit warnings in
 the DevTools console when there are multiple elements on the page sharing
 the same ID.

 >[DOM] Found 2 elements with non-unique id #_wpnonce: (More info:
 https://goo.gl/9p2vKq)

 It's still a "harmless HTML validation error", but has the potential to
 become quite noisy if this logging lands in a stable release of Chrome.

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


More information about the wp-trac mailing list