Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #62549, comment 1


Ignore:
Timestamp:
11/25/2024 04:18:15 AM (15 months ago)
Author:
yogeshbhutkar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62549, comment 1

    initial v1  
    11Hi @kkmuffme,
    22
    3 Thanks for raising the ticket. I think `checked='checked'` would work as expected because HTML treats any value for a boolean attribute (including checked="checked", checked="true", or even checked="randomText") as equivalent to the presence of the attribute.
     3Thanks for raising the ticket. I think `checked='checked'` would work as expected because HTML treats any value for a boolean attribute (including checked="checked", checked="true", or even checked="randomText") as equivalent to the presence of the attribute. (i.e. true/checked)
    44
    55But considering best practices in mind, we can use (just) `checked` there.