[wp-trac] [WordPress Trac] #57163: Don't use _prime_post_caches() if meta/terms cache should be updated

WordPress Trac noreply at wordpress.org
Fri Nov 25 16:29:09 UTC 2022


#57163: Don't use _prime_post_caches() if meta/terms cache should be updated
--------------------------+--------------------------
 Reporter:  ocean90       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.1.2
Component:  Query         |     Version:  6.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+--------------------------

Comment (by spacedmonkey):

 Replying to [comment:8 ocean90]:
 > `_prime_comment_caches()`, `_prime_term_caches()`, and
 `_prime_site_caches()` are having the same issue. So whatever solution
 we'll use here should also get applied to them. Will create a follow-up
 ticket.

 +1 to this. We just have to ensure that, we do not break lazy loading of
 term / comment meta at the same time.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57163#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list