[wp-trac] [WordPress Trac] #59188: WP_Posts_List_Table causes post, postmeta, and term caches to be primed for all pages in the DB on load

WordPress Trac noreply at wordpress.org
Mon Oct 9 23:01:31 UTC 2023


#59188: WP_Posts_List_Table causes post, postmeta, and term caches to be primed for
all pages in the DB on load
-------------------------------------+-------------------------------------
 Reporter:  kevinfodness             |       Owner:  spacedmonkey
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  6.4
Component:  Query                    |     Version:  6.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch dev-feedback   |     Focuses:  administration,
  has-unit-tests needs-dev-note      |  performance
-------------------------------------+-------------------------------------

Comment (by peterwilsoncc):

 In [changeset:"56811" 56811]:
 {{{
 #!CommitTicketReference repository="" revision="56811"
 Query: Rename `_prime_post_parents_caches()` for clarity.

 Change the name of `_prime_post_parents_caches()` to
 `_prime_post_parent_id_caches()` to make it clearer only the parent post
 ID is cached rather than the entire post parent object.

 Follow up to [56763].

 Props spacedmonkey, joemcgill, peterwilsoncc.
 See #59188.
 }}}

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


More information about the wp-trac mailing list