[wp-trac] [WordPress Trac] #11003: wp_get_object_terms Returns Duplicate Terms
WordPress Trac
noreply at wordpress.org
Thu Jun 5 19:58:51 UTC 2014
#11003: wp_get_object_terms Returns Duplicate Terms
--------------------------+---------------------
Reporter: filosofo | Owner: ryan
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.0
Component: Taxonomy | Version: 2.9
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------
Comment (by jorbin):
array_unique is used with the second optional parameter of STRING_REGULAR
which was added in php 5.2.9. Our minimum requirements are 5.2.4. This
will trigger `Warning: Wrong parameter count for array_unique()` and cause
array_unique to return NULL
http://www.php.net/manual/en/function.array-unique.php
--
Ticket URL: <https://core.trac.wordpress.org/ticket/11003#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list