#8704 closed defect (bug) (fixed)
Missing Filter in function wp_get_object_terms()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | Taxonomy | Keywords: | has-patch tested commit |
Focuses: | Cc: |
Description
The qTranslate plugin author has asked me to forward this issue to WP dev.
in wp-includes/taxonomy.php function wp_get_object_terms()
find
return $terms;
replace with
$terms = apply_filters('wp_get_object_terms', $terms); return $terms;
Original discussion at http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=305
Enjoy
Attachments (1)
Change History (10)
#6
follow-up:
↓ 7
@
14 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
shouldn't the empty terms list be filtered too, as in the initial patch?
#7
in reply to:
↑ 6
@
14 years ago
Replying to Denis-de-Bernardy:
shouldn't the empty terms list be filtered too, as in the initial patch?
Thanks for the typo catch.
Bad manual application of the patch :-(
Note: See
TracTickets for help on using
tickets.
patch adds a filter that passes the full set of parameters.