Make WordPress Core

Opened 15 years ago

Closed 14 years ago

#10900 closed defect (bug) (fixed)

Consistent filters for single_*_title()

Reported by: scribu's profile scribu Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 2.9
Component: Formatting Keywords: has-patch commit early
Focuses: Cc:


In WP 2.9-rare, single_tag_title() doesn't have strip_tags() applied to it, while single_cat_title() and single_post_title() do.

Additionally, single_post_title() also has wptexturize() applied.

This should be fixed.

Attachments (2)

general-template.php.diff (2.0 KB) - added by scribu 15 years ago.
general-template.php.2.diff (1.7 KB) - added by scribu 14 years ago.

Download all attachments as: .zip

Change History (8)

#1 @ryan
14 years ago

  • Keywords early added
  • Milestone changed from 2.9 to 3.0

Looks good but lets save for early 3.0.

#2 @scribu
14 years ago

  • Keywords commit added

#3 @nacin
14 years ago

Patch is stale. Otherwise looks good.

#4 @scribu
14 years ago

  • Keywords needs-patch added; has-patch commit removed

14 years ago


#5 @scribu
14 years ago

  • Keywords has-patch commit added; needs-patch removed

#6 @nacin
14 years ago

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

(In [13467]) Standardize filters for single_(post|cat|tag|month)_title() on strip_tags() and wptexturize(). fixes #10900 props scribu

Note: See TracTickets for help on using tickets.