Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#3258 closed defect (bug) (fixed)

Quotes in image titles mess up validation

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

Description

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

Download all attachments as: .zip

Change History (4)

#1 @mdawaffe
20 years ago

3258.diff

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

#2 @mdawaffe
20 years ago

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

#3 @markjaquith
20 years ago

  • Resolution → fixed
  • Status assigned → closed

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

Note: See TracTickets for help on using tickets.