[wp-trac] [WordPress Trac] #57296: Force split queries in WP_Query in object caching is enabled.

WordPress Trac noreply at wordpress.org
Fri Sep 15 20:01:42 UTC 2023


#57296: Force split queries in WP_Query in object caching is enabled.
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:
                                                 |  spacedmonkey
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.4
Component:  Query                                |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-unit-tests needs-testing needs-  |     Focuses:
  dev-note add-to-field-guide needs-patch        |  performance
  revert 2nd-opinion                             |
-------------------------------------------------+-------------------------
Changes (by azaozz):

 * keywords:
     has-patch has-unit-tests needs-testing needs-dev-note add-to-field-
     guide
     =>
     has-unit-tests needs-testing needs-dev-note add-to-field-guide needs-
     patch revert 2nd-opinion
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Replying to [comment:14 spacedmonkey]:

 > This only changes if query is run on a site with object cache and not
 limit is set.

 If plugins are broken seems this is a "breaking change" or perhaps there
 is more to it than that?

 > I agree this needs a dev note and some developer education.

 Dev. notes and developer education **are not substitute for backwards
 compatibility**! A regression is a regression no matter how much you
 "educate" about it. Regressions are the worst type of bugs that can be
 introduced and fixing them in not optional.

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


More information about the wp-trac mailing list