WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#4050 closed defect (bug) (fixed)

wp_get_archives fails to filter post titles when doing postbypost list

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

Description

In the wp_get_archives template tag function, if the type is set to 'postbypost', the post title is put onto the screen without passing it through the usual 'the_title' filter.

Tested in 2.1.2 and [5143].

One-line very simple patch to be attached in a moment. Patch has also been tested in both 2.1.2 and [5143].

Attachments (1)

general-template-php.diff (647 bytes) - added by jhodgdon 7 years ago.
Add filter to post title in wp_get_archives

Download all attachments as: .zip

Change History (2)

jhodgdon7 years ago

Add filter to post title in wp_get_archives

comment:1 rob1n7 years ago

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

(In [5144]) Add missing the_title filter call. Props jhodgdon. fixes #4050

Note: See TracTickets for help on using tickets.