WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#10845 closed defect (bug) (wontfix)

Fix single quote html attributes

Reported by: prometh Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8.4
Component: General Keywords: reporter-feedback
Focuses: Cc:

Description

I'm sure there are more, but I have noticed that...

get_comment_author_link()
wp_tag_cloud()

...use single quotes for their html attributes

If the reason for this is to allow for " characters within html attribute values, refer to ticket #10844

Change History (5)

#1 @westi
10 years ago

  • Keywords reporter-feedback added

What is the bug here more detail is needed to understand this.

#2 @scribu
10 years ago

Single quotes are perfectly valid for HTML attributes.

#3 @prometh
10 years ago

It's inconsistent.

#4 @scribu
10 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

The effort and the readability lost in the code outweight the benefit.

#5 @Denis-de-Bernardy
10 years ago

  • Milestone Unassigned deleted
Note: See TracTickets for help on using tickets.