[wp-trac] [WordPress Trac] #41010: wp_get_object_terms() returns duplicate terms if more than one taxonomy is given in args

WordPress Trac noreply at wordpress.org
Thu Jun 15 02:47:12 UTC 2017


#41010: wp_get_object_terms() returns duplicate terms if more than one taxonomy is
given in args
--------------------------+------------------------------
 Reporter:  mranner       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  4.8
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by Howdy_McGee):

 I'm not sure I follow the latter half of your issue. I've tested
 `wp_get_object_terms()` with Post `array( 'category', 'post_tag' );` and I
 get the expected results, no duplicates. Can you list steps to reproduce
 this issue?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41010#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list