Ticket #5861 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

Manage Post screen has un-filtered categories and tags on it

Reported by: jhodgdon Assigned to: anonymous
Priority: normal Milestone: 2.5
Component: Administration Version: 2.5
Severity: normal Keywords: has-patch
Cc: jhodgdon

Description

The new Manage Post screen in 2.5 bleeding [6851] shows raw categories and tags, instead of running them through the standard "display" filtering. (Both get_the_category and get_the_tags, called in wp-admin/edit-post-rows.php, return unfiltered output.)

I can patch this... will do so a bit later...

Attachments

edit-post-rows.diff (1.0 kB) - added by jhodgdon on 02/14/08 21:17:05.
Patch to filter categories and tags on post edit screen
edit-post-rows2.diff (1.1 kB) - added by jhodgdon on 02/14/08 21:51:34.
Patch using sanitize functions instead of directly filtering

Change History

02/14/08 21:17:05 changed by jhodgdon

  • attachment edit-post-rows.diff added.

Patch to filter categories and tags on post edit screen

02/14/08 21:17:34 changed by jhodgdon

  • keywords set to has-patch.

That patch fixes it...

02/14/08 21:29:27 changed by ryan

Can we use sanitize_term_field() since it handles applying the back-compat filters?

02/14/08 21:51:34 changed by jhodgdon

  • attachment edit-post-rows2.diff added.

Patch using sanitize functions instead of directly filtering

02/14/08 21:51:57 changed by jhodgdon

OK, how about that patch?

02/14/08 21:57:20 changed by ryan

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

(In [6854]) Filter cat and tag names. Props jhodgdon. fixes #5861