[wp-trac] [WordPress Trac] #21539: category_description filter not applied to Description field on Categories page

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 10 14:44:57 UTC 2012


#21539: category_description filter not applied to Description field on Categories
page
----------------------------+------------------------------
 Reporter:  StephenCronin   |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.4.1
 Severity:  minor           |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------------------

Comment (by dd32):

 The obvious downside to this as it stands, is back compat with
 plugins/filters written that expect to be displayed on the front end only,
 suddenly showing within the admin might not be the intended purpose of
 them.

 The other thought that comes to mind, is what about cases where the term
 isn't a category, such as a hierarchical custom tax? should that get the
 same filter?

 There's no harm in having a filter here, but perhaps a new filter, and one
 that takes other taxonomies into account (even if it's just passing the
 taxonomy as context to the apply_filters call)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21539#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list