[wp-trac] [WordPress Trac] #43496: CS: Fix disabled for user-edit.php

WordPress Trac noreply at wordpress.org
Thu Mar 8 09:47:45 UTC 2018


#43496: CS: Fix disabled for user-edit.php
--------------------------+-------------------------------
 Reporter:  mukesh27      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.0
Component:  Users         |     Version:  4.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  coding-standards
--------------------------+-------------------------------
Changes (by ocean90):

 * keywords:  has-patch commit => has-patch


Comment:

 Since the admin doesn't use XHTML I'm not sure why we have to add a value
 to boolean attributes. The rule should probably be changed to exclude
 boolean attributes.

 There are few other occurrences of `disabled` and also `readonly` without
 a value.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43496#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list