[buddypress-trac] [BuddyPress Trac] #6472: Duplicate IDs in Profile Fields Admin Panel

buddypress-trac noreply at wordpress.org
Thu Aug 27 02:50:41 UTC 2015


#6472: Duplicate IDs in Profile Fields Admin Panel
-------------------------------------------------+-------------------------
 Reporter:  mercime                              |       Owner:  DJPaul
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  2.4
Component:  Component - XProfile                 |     Version:  1.7
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch early good-first-bug       |
  needs-testing                                  |
-------------------------------------------------+-------------------------
Changes (by mercime):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"10071"]:
 {{{
 #!CommitTicketReference repository="" revision="10071"
 Remove duplicate IDs from xProfiles admin screen.

 Duplicate `id` values are generated in both the `fieldset` and in any of
 the
 associated form control elements in the Profile Fields admin screen. The
 `id`
 value  is required for all form controls to be associated with `label`
 tags
 while the ‘id` value for the `fieldset` element on the other hand is not
 used in either the Profile Fields admin CSS nor JS. Removing the `id`
 attribute
 from the `fieldset` element fixes the issue of duplicate `id`s in the DOM
 .

 Props mercime, boonebgorges, djpaul, johnjamesjacoby.
 Fixes #6472.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6472#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list