[wp-trac] [WordPress Trac] #6564: Multiple admin forms means multiple ID="_wpnonce", rendering XHTML invalid
WordPress Trac
wp-trac at lists.automattic.com
Sat Nov 28 06:54:46 UTC 2009
#6564: Multiple admin forms means multiple ID="_wpnonce", rendering XHTML invalid
--------------------------+-------------------------------------------------
Reporter: markjaquith | Owner: markjaquith
Type: defect (bug) | Status: accepted
Priority: low | Milestone: Future Release
Component: Validation | Version: 2.5
Severity: minor | Keywords: needs-patch
--------------------------+-------------------------------------------------
Changes (by azaozz):
* milestone: 2.9 => Future Release
Comment:
Not sure if we should do that. If more than one nonce is needed on the
same page a much better option is to pass unique name/id to each:
`wp_nonce_field( 'check-this-nonce', 'for-this-name' );`.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/6564#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list