WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#3926 closed defect (bug) (fixed)

Title attributes on some links are unfiltered

Reported by: jhodgdon Owned by:
Milestone: 2.2 Priority: normal
Severity: normal Version: 2.1.2
Component: General Keywords: category filter has-patch
Focuses: Cc:

Description

When creating list of category links, if there are no descriptions for the categories, the "WalkerCategory" class in wp-includes/classes.php creates a title attribute that contains an unfiltered category name. It should be filtered.

Bug appears in both 2.1.2 and SVN revision 4984.

Attachments (2)

classes-php.diff (1.0 KB) - added by jhodgdon 8 years ago.
Patch to add filtering to title attributes in categories list
general-template-php2.diff (1.2 KB) - added by jhodgdon 8 years ago.
Patch to add filtering to post titles in get_calendar

Download all attachments as: .zip

Change History (4)

@jhodgdon8 years ago

Patch to add filtering to title attributes in categories list

comment:1 @jhodgdon8 years ago

There is another place this is a problem, too, in the titles applied to calendar days in the get_calendar function. I have a patch for this too... coming momentarily....

@jhodgdon8 years ago

Patch to add filtering to post titles in get_calendar

comment:2 @ryan8 years ago

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

(In [5013]) Title filtering from jhodgdon. fixes #3926

Note: See TracTickets for help on using tickets.