Make WordPress Core

Opened 9 years ago

Closed 9 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 9 years ago.

Download all attachments as: .zip

Change History (4)

@mdawaffe9 years ago

comment:1 @mdawaffe9 years ago


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

comment:2 @mdawaffe9 years ago

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

comment:3 @markjaquith9 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.