[wp-trac] [WordPress Trac] #62549: checked is a boolean attribute
WordPress Trac
noreply at wordpress.org
Mon Nov 25 20:25:08 UTC 2024
#62549: checked is a boolean attribute
----------------------------+------------------------------
Reporter: kkmuffme | Owner: (none)
Type: enhancement | Status: new
Priority: low | Milestone: Awaiting Review
Component: Administration | Version:
Severity: trivial | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Changes (by sabernhardt):
* priority: normal => low
* type: defect (bug) => enhancement
Comment:
[https://developer.wordpress.org/coding-standards/wordpress-coding-
standards/html/ HTML coding standards] said to use the values such as
`checked="checked"` for each attribute, though an edit in April explicitly
added "Omitting the value on boolean attributes is allowed."
Updating `__checked_selected_helper()` output could be part of a larger
project in the admin (ticket:61183#comment:9).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62549#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list