[wp-trac] [WordPress Trac] #41293: wp_get_post_terms do not work with 'id=>name' argument
WordPress Trac
noreply at wordpress.org
Thu Jul 13 07:20:45 UTC 2017
#41293: wp_get_post_terms do not work with 'id=>name' argument
--------------------------+------------------------------
Reporter: dany2217 | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.7.5
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by dany2217):
Hi @ivankristianto, thanks for your reply and advise.
I understood about supported arguments, but i think it will be better to
support those arguments too.
Because wp_get_post_terms returns result if get_terms function (correctly
array of get_terms result) and get_terms function supports arguments like
id=>name. So there is problem about array_merge logic inside
wp_get_object_terms function.
Its not a bug, so could you consider about it for feature release?
Thanks.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41293#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list