#31098 closed defect (bug) (duplicate)
Filter wp_get_object_terms sends the wrong $taxonomies value
Reported by: | PhoenixML | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.8 |
Component: | Taxonomy | Keywords: | |
Focuses: | Cc: |
Description
In the function wp_get_object_terms(), at the end, the value of $taxonomies (which should either be a slug string or an array of slugs) is overwritten and becomes a string from the sql query with single quotes before it is sent through the filter 'wp_get_object_terms'.
Example: " 'category,'post_tags' "
It should be: array('category', 'post_tags')
Change History (1)
Note: See
TracTickets for help on using
tickets.
Duplicate of #18828.