Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#24006 closed defect (bug) (fixed)

Post Formats: Field ID attributes naming is not consistent

Reported by: kovshenin Owned by: SergeyBiryukov
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.6
Component: Post Formats Keywords: has-patch
Focuses: Cc:


Some id attributes start with an underscore (like _wp_format_url) and some don't (like wp_format_video), also the corresponding labels for attributes don't always match, like wp_format_video and wp_format_audio.

Attachments (1)

24006.diff (2.8 KB) - added by kovshenin 2 years ago.

Download all attachments as: .zip

Change History (3)

@kovshenin2 years ago

comment:1 @kovshenin2 years ago

In 24006.diff set all id and for attributes to not start with an underscore, per HTML4 spec that states ids must begin with a letter.

comment:2 @SergeyBiryukov2 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 23939:

Fix inconsistent id attributes. props kovshenin. fixes #24006.

Note: See TracTickets for help on using tickets.