WordPress.org

Make WordPress Core

Opened 2 hours ago

Last modified 4 minutes ago

#46626 new defect (bug)

Disabled attribute should have values as per HTML standards

Reported by: harshall Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: coding-standards Cc:

Description

According to the WordPress HTML Coding Standards, all attributes must have a value, and must use double- or single-quotes (source).

https://make.wordpress.org/core/handbook/best-practices/coding-standards/html/#quotes

Attachments (1)

46626.diff (4.1 KB) - added by harshall 2 hours ago.

Download all attachments as: .zip

Change History (2)

@harshall
2 hours ago

#1 @man4toman
4 minutes ago

Hi @harshall
Please see: #43496

Note: See TracTickets for help on using tickets.