[wp-trac] [WordPress Trac] #52144: the $term_ids in function wp_queue_posts_for_term_meta_lazyload is index array

WordPress Trac noreply at wordpress.org
Tue Dec 22 07:19:09 UTC 2020


#52144: the $term_ids in function wp_queue_posts_for_term_meta_lazyload  is index
array
-------------------------------+-----------------------------
 Reporter:  denishua           |       Owner:  SergeyBiryukov
     Type:  defect (bug)       |      Status:  reviewing
 Priority:  normal             |   Milestone:  5.7
Component:  Posts, Post Types  |     Version:  4.5
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+-----------------------------
Changes (by akabarikalpesh):

 * Attachment "52144.patch" added.

 I just added "if ( ! in_array( $term->term_id, $term_ids ) ) {" in wp-
 includes/post.php file

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52144>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list