Ticket #4019 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Filter missing from post title when viewing comment list on admin page

Reported by: jhodgdon Assigned to: anonymous
Priority: low Milestone: 2.2
Component: Administration Version: 2.1.2
Severity: normal Keywords: has-patch admin filter title
Cc:

Description

Go to the admin panels to moderate a comment, and when you are done, you are presented with a list of all the comments on a single post.

The post title printed at the top of the page, where it says "Comments on xyz" is not filtered, so it may not display in an intelligent manner.

I don't know how to get to this page directly through the menus, but its URL is something like this, if the post number is 23:

http://example.com/blogdir/wp-admin/edit.php?p=23&c=1

Tested in 2.1.2 as well as Trunk [5090]. One-line simple patch coming.

Attachments

edit-php.diff (0.6 kB) - added by jhodgdon on 03/23/07 13:33:40.
Patch to filter the title - not sure if it needs strip slashes too? Works for me without, but I don't have any slashes in my titles anyway…

Change History

03/23/07 13:33:40 changed by jhodgdon

  • attachment edit-php.diff added.

Patch to filter the title - not sure if it needs strip slashes too? Works for me without, but I don't have any slashes in my titles anyway...

03/23/07 13:46:32 changed by jhodgdon

I just tested it with a title that had quotes in it, no problem with slashes... I guess I am not sure that that is the reason for strip_slashes?

03/23/07 23:06:47 changed by ryan

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

(In [5094]) Add missing the_title filter. Props jhodgdon. fixes #4019