[wp-trac] [WordPress Trac] #18828: function wp_get_object_terms() passes sql data into `wp_get_object_terms` filter for $taxonomies

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 30 19:07:08 UTC 2011


#18828: function wp_get_object_terms() passes sql data into `wp_get_object_terms`
filter for $taxonomies
----------------------------+-----------------------------
 Reporter:  postpostmodern  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Taxonomy        |    Version:  3.3
 Severity:  normal          |   Keywords:  has-patch
----------------------------+-----------------------------
 In wp-includes/taxonomy.php, the return data is passed through the
 `wp_get_object_terms` filter using the sql-ready data for $taxonomies,
 meaning it is quoted and comma seperated, for example "'category',
 'post_tag', 'post_format'". Even for one taxonomy, it has quotes added, it
 seems this would be easier to work with if it matched the data passed into
 the function more closely.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18828>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list