Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#24006 closed defect (bug) (fixed)

Post Formats: Field ID attributes naming is not consistent

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

Description

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 11 years ago.

Download all attachments as: .zip

Change History (3)

@kovshenin
11 years ago

#1 @kovshenin
11 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.

#2 @SergeyBiryukov
11 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.