[wp-trac] [WordPress Trac] #41293: wp_get_post_terms do not work with 'id=>name' argument
WordPress Trac
noreply at wordpress.org
Wed Aug 9 15:39:42 UTC 2017
#41293: wp_get_post_terms do not work with 'id=>name' argument
--------------------------+-----------------------
Reporter: dany2217 | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.9
Component: Taxonomy | Version: 4.7.5
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+-----------------------
Comment (by pcarvalho):
i just stumbled on this too. I was wondering what should take precedence,
and it seems $terms does.
so, the union ( $array1 + $array2 ) is the right call instead of
array_replace.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41293#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list