[wp-trac] [WordPress Trac] #11003: wp_get_object_terms Returns Duplicate Terms

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 29 16:19:02 UTC 2009


#11003: wp_get_object_terms Returns Duplicate Terms
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:  ryan                   
     Type:  defect (bug)  |      Status:  new                    
 Priority:  normal        |   Milestone:  3.0                    
Component:  Taxonomy      |     Version:  2.9                    
 Severity:  normal        |    Keywords:  has-patch, dev-feedback
--------------------------+-------------------------------------------------
Changes (by hakre):

  * keywords:  has-patch => has-patch, dev-feedback


Comment:

 It might make sense to have that optional to not change the current
 behaviour (back-compat), for example I might want to have that dupes
 instead of not.

 In my patch I adopted the premier suggestion and added an additional
 parameter: ''select''. It might make sense to adopt that to the SQL
 queries as well.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11003#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list