Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#3599 closed defect (bug) (fixed)

Admin screens could use filtering in various places

Reported by: jhodgdon's profile jhodgdon Owned by:
Milestone: 2.2 Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords: admin, filter, has-patch
Focuses: Cc:

Description

Sometimes, when the Admin screens put things like post categories and post titles on the screen, they are run through filters (so plugins can modify how they are displayed). Sometimes, they are not -- it isn't consistent. Here are some places they need to be added:

1) Dashboard screen: "Latest Activity" section filters post titles in "Posts" section but not in "Comments" section.

2) Manage / Categories screen: Category names are not filtered in the list of categories, or in the note about deleting section.

3) Blogroll / Manage Blogroll, Add Blogroll, and Import screens: Link titles and categories are not filtered (see ticket [3595 #3595], where patches will be added)

This is a MUCH reduced list, as compared to version 2.0.6, by the way! Thanks!

I will attach patches to add these filters.

Attachments (3)

wp-admin_index.php.diff (892 bytes) - added by jhodgdon 18 years ago.
Patch for index.php in wp-admin, to fix #1 above
categories.php.diff (1.2 KB) - added by jhodgdon 18 years ago.
Patch for wp-admin/categories.php to fix part 2 above
admin-functions.php.diff (1.2 KB) - added by jhodgdon 18 years ago.
Patch for wp-admin/admin-functions.php, to fix part 4 (in one of the comments below/above)

Download all attachments as: .zip

Change History (10)

@jhodgdon
18 years ago

Patch for index.php in wp-admin, to fix #1 above

#1 @jhodgdon
18 years ago

Note on part 2 above: Apparently there is a "cat_rows" filter that can be used in the category list, so no patch needed for that one; however, there is a patch for the note on deleting the categories (see categories.php, which I'm about to attach a patch for).

@jhodgdon
18 years ago

Patch for wp-admin/categories.php to fix part 2 above

#2 @jhodgdon
18 years ago

One more place:

4) On the Write Post screen, the check boxes for categories -- category names should be filtered there too.

(patch coming...)

@jhodgdon
18 years ago

Patch for wp-admin/admin-functions.php, to fix part 4 (in one of the comments below/above)

#3 @jhodgdon
18 years ago

  • Keywords has-patch added

#4 @jhodgdon
18 years ago

  • Cc jhodgdon added

#5 @jhodgdon
18 years ago

Just verified problems are still there in [5012]

#6 @jhodgdon
18 years ago

Also I applied patches in [5012] and re-tested.

Patch for wp-admin/index.php fixes 1st item above.

Patch for wp-admin/categories.php fixes 2nd item above.

Patch for wp-admin/admin-functions.php fixes 4th item above.

Item 3 and part of item 2 have already been fixed by other patches.

#7 @ryan
18 years ago

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

(In [5015]) Add missing filters. Props jhodgdon. fixes #3599

Note: See TracTickets for help on using tickets.