Opened 3 years ago

Closed 3 years ago

#15562 closed defect (bug) (fixed)

Non-unique ID attributes for user-new.php in MS

Reported by: duck_ Owned by:
Priority: low Milestone: 3.1
Component: Multisite Version: 3.1
Severity: minor Keywords: has-patch
Cc:

Description

I think you have to be a super admin for this.

Bad from a validation standpoint.

But also, the nice shortcut of clicking on labels to toggle a checkbox or select an input is broken in this case and can be disorienting. Try clicking the "Skip confirmation email" label in the Create New User section, the checkbox in the add existing section will be toggled instead.

Two patches, one just for the conflicting IDs in the form elements. The other (full.diff) should remove all duplicate ID validation errors (related #13383 and #6564).

Attachments (2)

15562.diff (1.6 KB) - added by duck_ 3 years ago.
15562.full.diff (3.3 KB) - added by duck_ 3 years ago.

Download all attachments as: .zip

Change History (3)

duck_3 years ago

duck_3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [16569]) Fix duplicate HTML IDs for wp-admin/user-new.php on MS installs. props duck_. fixes #15562

Note: See TracTickets for help on using tickets.