[wp-trac] [WordPress Trac] #22176: Cache the results of the posts_request_ids query

WordPress Trac noreply at wordpress.org
Mon Jun 27 06:03:31 UTC 2022


#22176: Cache the results of the posts_request_ids query
-------------------------------------------------+-------------------------
 Reporter:  ryan                                 |       Owner:
                                                 |  spacedmonkey
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.1
Component:  Query                                |     Version:  3.4.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch 2nd-opinion has-unit-      |     Focuses:
  tests early needs-testing needs-refresh        |  performance
-------------------------------------------------+-------------------------
Changes (by mukesh27):

 * keywords:  has-patch 2nd-opinion has-unit-tests early needs-testing =>
     has-patch 2nd-opinion has-unit-tests early needs-testing needs-refresh
 * milestone:  Future Release => 6.1


Comment:

 The PR needs to be refreshed against the latest changes, @spacedmonkey can
 you please update the PR and also add a unit test in the PR?

 In my quick check of unit tests in [attachment:"22176.4.diff"] i found
 that `$p2 = self::factory()->post->create();` is not needed, so can you
 please remove it?

 For visibility and testing purposes, I'm going to set the `Milestone` for
 the next major release `6.1`.

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


More information about the wp-trac mailing list