[wp-trac] [WordPress Trac] #17978: Label for "Super Admin" in wp-admin/user-edit.php seems redundant and inconsistent

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 4 15:08:24 UTC 2011


#17978: Label for "Super Admin" in wp-admin/user-edit.php seems redundant and
inconsistent
-------------------------+-------------------------------------------------
 Reporter:  waclawjacek  |      Owner:
     Type:  defect       |     Status:  new
  (bug)                  |  Milestone:  Awaiting Review
 Priority:  normal       |    Version:  3.2
Component:  Network      |   Keywords:  label, super admin, user edit,
  Admin                  |  network
 Severity:  trivial      |
-------------------------+-------------------------------------------------
 Hello :-)

 Please excuse me for the harsh words. Explanation coming right up.

 The following is the relevant bit of code:

 {{{
 <tr><th><label for="role"><?php _e('Super Admin'); ?></label></th>
 }}}

 (file name wp-admin/user-edit.php, line number in revision 18392: 263).

 The label tag seems to be both redundant and inconsistent - redundant,
 because there's no input field that has the ID "role" on that screen, and
 inconsistent, because all the other checkbox groups don't have any labels
 (as in "HTML <label> tags") ''to the left of them''.


 Cheers!
 WJ

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17978>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list