Make WordPress Core

Timestamp:
11/09/2022 12:26:41 AM (4 years ago)
Author:
peterwilsoncc
Message:

Query: Bypass caching for filtered SELECTs.

Bypass caching within WP_Query when the SELECT clause has been modified via a filter. This prevents both cache key collisions and the returning of incomplete or unexpected results when the SELECT clause has been modified by an extender.

Props pypwalters, claytoncollie, johnwatkins0, TimothyBlynJacobs, costdev, spacedmonkey, peterwilsoncc.
Fixes #57012.

File:
1 added

Note: See TracChangeset for help on using the changeset viewer.