Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#3258 closed defect (bug) (fixed)

Quotes in image titles mess up validation

Reported by: mdawaffe Owned by: mdawaffe
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.1
Component: Template Keywords:
Focuses: Cc:


If you use double quotes in an image title, they are put verbatim into the HTML, which of course breaks the quoting.

Attachments (1)

3258.diffโ€‹ (1.7 KB) - added by mdawaffe 12 years ago.

Download all attachments as: .zip

Change History (4)

12 years ago

#1 @mdawaffe
12 years ago


Hardcode wp_specialchars( ยท , 1 ) into several display-only functions.

#2 @mdawaffe
12 years ago

  • Component changed from Administration to Template
  • Owner changed from anonymous to mdawaffe
  • Status changed from new to assigned

#3 @markjaquith
12 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [4402]) Entity encode image title attribute. Props mdawaffe. fixes #3258

Note: See TracTickets for help on using tickets.