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

WordPress Trac noreply at wordpress.org
Tue Nov 22 10:26:48 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):

 The issue with all the _prime functions, is that is just guesses that the
 if the main object is primed not to both to prime the meta / terms. This
 data should treated as different types and we should ensure it primed
 always.

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


More information about the wp-trac mailing list