function wp_nonce_field should randomize id attribute
|Reported by:||jay_freetailed||Owned by:|
The wp_nonce_field function in wp-includes/functions.php should use a random seed for the id attribute of the field. In cases where there are pages or posts with multiple forms, each nonce hidden field has the same id attribute. This causes the w3c Markup Validation Service to site an error "Duplicate ID _wpnonce."
Another solution could be to simply omit the id attribute all together.
The function simply uses the name of the field as the id attribute.