Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#5861 closed defect (bug) (fixed)

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

Reported by: jhodgdon's profile jhodgdon Owned by:
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.5
Component: Administration Keywords: has-patch
Focuses: Cc:

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 (2)

edit-post-rows.diff (1.0 KB) - added by jhodgdon 18 years ago.
Patch to filter categories and tags on post edit screen
edit-post-rows2.diff (1.1 KB) - added by jhodgdon 18 years ago.
Patch using sanitize functions instead of directly filtering

Download all attachments as: .zip

Change History (6)

@jhodgdon
18 years ago

Patch to filter categories and tags on post edit screen

#1 @jhodgdon
18 years ago

  • Keywords has-patch added

That patch fixes it...

#2 @ryan
18 years ago

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

@jhodgdon
18 years ago

Patch using sanitize functions instead of directly filtering

#3 @jhodgdon
18 years ago

OK, how about that patch?

#4 @ryan
18 years ago

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

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

Note: See TracTickets for help on using tickets.