Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#2897 closed defect (bug) (fixed)

Title attributes on Import page can contain < and > characters

Reported by: nazgul's profile Nazgul Owned by: nazgul's profile Nazgul
Milestone: Priority: normal
Severity: trivial Version: 2.0.3
Component: Administration Keywords: bg|has-patch
Focuses: Cc:

Description

The title attributes on the links pointing to the different import modules can (and do) contain < and > characters, which breaks XHTML validation.

Attachments (1)

2897.diff (604 bytes) - added by Nazgul 19 years ago.

Download all attachments as: .zip

Change History (6)

#1 @Nazgul
19 years ago

  • Keywords bg|has-patch added
  • Owner changed from anonymous to Nazgul
  • Status changed from new to assigned

Created a patch which does a wptexturize on the attribute, as specified in the Coding Guidelines and also does a strip_html on it, because title attributes shouldn't contain HTML markup.

@Nazgul
19 years ago

#2 @ryan
19 years ago

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

(In [3986]) Strip and texturize importer title. Props Nazgul. fixes #2897

#3 @ryan
19 years ago

(In [3987]) Strip and texturize importer title. Props Nazgul. fixes #2897

#4 @ryan
19 years ago

  • Milestone changed from 2.1 to 2.0.4
  • Version changed from 2.1 to 2.0.3

#5 @(none)
18 years ago

  • Milestone 2.0.4 deleted

Milestone 2.0.4 deleted

Note: See TracTickets for help on using tickets.