wp_get_object_terms Returns Duplicate Terms
|Reported by:||filosofo||Owned by:||ryan|
wp_get_object_terms() accepts multiple objects in its first parameter. If the multiple objects have terms in common, then wp_get_object_terms() returns those terms more than once in the returned array of term data.
Patch makes the array of terms unique.
Change History (21)
- Cc scribu added
- Keywords changed from has-patch, dev-feedback to has-patch dev-feedback
- Keywords dev-feedback removed
- Milestone changed from Future Release to 4.0
- Resolution set to fixed
- Status changed from new to closed