[wp-trac] [WordPress Trac] #57227: _prime_(comment|term|site)_caches() don't account for primed objects without primed meta

WordPress Trac noreply at wordpress.org
Tue Nov 29 20:19:54 UTC 2022


#57227: _prime_(comment|term|site)_caches() don't account for primed objects
without primed meta
--------------------------------+----------------------------
 Reporter:  ocean90             |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Future Release
Component:  Options, Meta APIs  |    Version:
 Severity:  normal              |   Keywords:  needs-patch
  Focuses:  performance         |
--------------------------------+----------------------------
 This is similar to #57163 where `_prime_post_caches()` was fixed.

 Example for comments:
 {{{#!php
 <?php
 _prime_comment_caches( $comment_ids, false );
 _prime_comment_caches( $comment_ids, true ); // Bug: No meta is primed
 }}}

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


More information about the wp-trac mailing list