[wp-trac] [WordPress Trac] #8704: Missing Filter in function wp_get_object_terms()

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 23 04:43:16 GMT 2008


#8704: Missing Filter in function wp_get_object_terms()
--------------------------+-------------------------------------------------
 Reporter:  miqrogroove   |       Owner:  ryan 
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  2.7.1
Component:  Taxonomy      |     Version:  2.7  
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
 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

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


More information about the wp-trac mailing list