Ticket #28922: 28922.diff
| File 28922.diff, 581 bytes (added by , 10 years ago) |
|---|
-
src/wp-includes/taxonomy-functions.php
3274 3274 if ( empty( $ids ) ) 3275 3275 return false; 3276 3276 3277 $terms = wp_get_object_terms($ids, $taxonomies, array('fields' => 'all_with_object_id')); 3277 $terms = wp_get_object_terms( $ids, $taxonomies, array( 3278 'fields' => 'all_with_object_id', 3279 'orderby' => 'none' 3280 ) ); 3278 3281 3279 3282 $object_terms = array(); 3280 3283 foreach ( (array) $terms as $term )