[wp-trac] [WordPress Trac] #62549: checked is a boolean attribute

WordPress Trac noreply at wordpress.org
Sat Nov 23 12:37:31 UTC 2024


#62549: checked is a boolean attribute
----------------------------+-----------------------------
 Reporter:  kkmuffme        |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  trivial         |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 https://developer.mozilla.org/en-
 US/docs/Web/HTML/Element/input/checkbox#checked

 but checked='checked' is used in various places.

 e.g.

 {{{
 <input class="hide-postbox-tog" name="dashboard_site_health-hide"
 type="checkbox" id="dashboard_site_health-hide"
 value="dashboard_site_health" checked='checked'/>Site Health Status
 }}}

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


More information about the wp-trac mailing list