Ticket #52144: 52144.diff
File 52144.diff, 509 bytes (added by , 4 years ago) |
---|
-
src/wp-includes/post.php
7344 7344 $terms = get_object_term_cache( $post->ID, $taxonomy ); 7345 7345 if ( false !== $terms ) { 7346 7346 foreach ( $terms as $term ) { 7347 if ( ! i sset( $term_ids[ $term->term_id ]) ) {7347 if ( ! in_array( $term->term_id, $term_ids, true ) ) { 7348 7348 $term_ids[] = $term->term_id; 7349 7349 } 7350 7350 }