Files
wordpress-develop/src/wp-includes
Scott Taylor 4dd4a32cde In wp_get_object_terms(), before returning terms (and before running them through the 'wp_get_object_terms' filter) - run them through $terms = array_values( array_unique( $terms, SORT_REGULAR ) ).
There will be "dupes" when the function is called with `'fields' => 'all_with_object_id'`, but the objects will actually be unique due to the `object_id` addition, so they shouldn't be filtered out. 

Adds unit tests. All other unit tests pass.

Fixes #11003.


git-svn-id: https://develop.svn.wordpress.org/trunk@28583 602fd350-edb4-49c9-b593-d223f7449a82
2014-05-27 03:28:05 +00:00
..
2014-04-07 17:51:44 +00:00
2014-03-27 22:40:06 +00:00
2013-10-23 14:37:54 +00:00
2013-10-23 14:37:54 +00:00
2013-10-23 14:37:54 +00:00
2014-05-25 16:11:26 +00:00
2014-03-28 13:56:44 +00:00
2014-03-26 18:42:41 +00:00
2013-09-06 17:18:33 +00:00