[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 16:24:15 UTC 2023


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

 * keywords:  has-patch has-unit-tests needs-testing =>
     has-patch has-unit-tests needs-testing needs-dev-note add-to-field-
     guide


Comment:

 @spacedmonkey: I've received support requests from 5 plugin authors
 complaining that `split_the_query` breaks their plugin. This change must
 be documented in detail in the field guide.

 Either way this will cause wide-spread issues with persistent object
 caching plugins and it would be nice to have a dedicated post about this
 we can link to, so it doesn't get lost in the field guide.

 For example: https://github.com/wpmetabox/mb-
 relationships/commit/06aa11e0d99be5663622c06eb39b0de9b0817bd9

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


More information about the wp-trac mailing list