[wp-trac] [WordPress Trac] #59514: Add more context to split_the_query filter
WordPress Trac
noreply at wordpress.org
Mon May 20 21:19:38 UTC 2024
#59514: Add more context to split_the_query filter
------------------------------+---------------------------
Reporter: spacedmonkey | Owner: spacedmonkey
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.6
Component: Query | Version: 3.4
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: performance
------------------------------+---------------------------
Changes (by spacedmonkey):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"58180" 58180]:
{{{
#!CommitTicketReference repository="" revision="58180"
Query: Add more context to the split_the_query filter.
Add more context to the `split_the_query` filter by adding two new
parameters: '$old_request' and '$clauses'. This enriches the filter with
additional information about the SQL query before the query is run,
enabling developers to have more context to help decide if a query should
be split.
Props spacedmonkey, shailu25, rcorrales, tillkruess.
Fixes #59514.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59514#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list