Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#10845 closed defect (bug) (wontfix)

Fix single quote html attributes

Reported by: prometh Owned by:
Priority: normal Milestone:
Component: General Version: 2.8.4
Severity: normal Keywords: reporter-feedback
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)

  • Keywords reporter-feedback added

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

Single quotes are perfectly valid for HTML attributes.

It's inconsistent.

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

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

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