[wp-trac] [WordPress Trac] #29348: Add classes to form containers on user-edit.php

WordPress Trac noreply at wordpress.org
Sun Aug 24 17:11:41 UTC 2014


#29348: Add classes to form containers on user-edit.php
--------------------------------------+-----------------------------
 Reporter:  jarednova                 |      Owner:
     Type:  enhancement               |     Status:  new
 Priority:  normal                    |  Milestone:  Awaiting Review
Component:  Administration            |    Version:  trunk
 Severity:  normal                    |   Keywords:
  Focuses:  administration, template  |
--------------------------------------+-----------------------------
 This is related to #28196 and applies the same methodology to the user-
 edit screen. Currently all the field containers are simply `<tr>`
 wrappers.

 This makes it difficult for a developer to hide or modify specific fields
 on the page. This patch applies a universal class convention to each tr
 like...

 `<tr class="user-description-wrap">`
 `<tr class="user-capabilities-wrap">`

 Classes are used instead of IDs because IDs are already occasionally used,
 such as...

 `<tr class="user-password-wrap" id="password">`

 [[Image(http://i.imgur.com/rIqYoKY.png)]]

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29348>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list