#13151 closed defect (bug) (invalid)
add filter to term_description()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | low | |
| Severity: | normal | Version: | |
| Component: | Plugins | Keywords: | has-patch hooks |
| Focuses: | Cc: |
Description
Since term_description() is a wrapper, it should also apply a filter to it's output.
Attachments (1)
Change History (6)
#2
@
16 years ago
- Milestone 3.0 deleted
- Resolution set to invalid
- Status changed from new to closed
Just found all the possible filters already added in sanitize_term_field().
#3
follow-up:
↓ 4
@
12 years ago
Hey, @scribu, pardon me for gravedigging but what sense do you think https://core.trac.wordpress.org/browser/trunk/src/wp-includes/default-filters.php#L112 makes?
There is no such thing as apply_filters "term_description" anywhere in core code.
Note: See
TracTickets for help on using
tickets.
Example use case: the Front-end Editor plugin.
Having this filter would allow the plugin to make term descriptions editable from the front-end.