Ticket #3366 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

images in page titles in wp_list_pages() now appear as html text.

Reported by: chigh Assigned to: rob1n
Priority: low Milestone: 2.2
Component: General Version: 2.0.5
Severity: minor Keywords: has-patch commit
Cc: rob1n

Description

This may not be considered a bug, but I did want to report this change of behaviour in 2.0.5.

In previous versions of WP, I was able to place a small image in the title of a page. My example, I would place a small image (12x12) of a lock in the title of password protected pages.

In 2.0.4 and prior, the image would be displayed in the list of pages and on the page. In 2.0.5, the behaviour changed. The image is displayed on the page itself and in some other locations, but NOT in the list of pages (such as in the sidebar on the front page - wp_list_pages() ).

Attachments

3366.diff (0.8 kB) - added by rob1n on 03/31/07 03:48:48.
Well, apparently the the_title filter wasn't being applied. Patch adds filters.

Change History

11/18/06 04:11:59 changed by JeremyVisser

Shouldn't you create a really simple plugin to filter the the_title filter when the post is protected? That would be a much better solution.

+1 for making the behaviour of post title handling consistent, though.

03/31/07 03:48:48 changed by rob1n

  • attachment 3366.diff added.

Well, apparently the the_title filter wasn't being applied. Patch adds filters.

03/31/07 03:49:06 changed by rob1n

  • keywords changed from images wp_list_pages() pages to has-patch.

03/31/07 03:49:19 changed by rob1n

  • keywords changed from has-patch to has-patch 2nd-opinion.
  • milestone set to 2.3.

03/31/07 03:49:27 changed by rob1n

  • cc set to rob1n.
  • owner changed from anonymous to rob1n.

03/31/07 19:55:27 changed by rob1n

  • milestone changed from 2.3 to 2.2.

04/01/07 04:56:21 changed by markjaquith

  • keywords changed from has-patch 2nd-opinion to has-patch commit.

+1 for the patch

04/01/07 15:40:53 changed by rob1n

  • status changed from new to closed.
  • resolution set to fixed.

(In [5164]) Run the post titles through the the_title filter. fixes #3366