[wp-trac] [WordPress Trac] #41197: Improved caching on WP_Site_Query
WordPress Trac
noreply at wordpress.org
Fri Jul 14 21:24:05 UTC 2017
#41197: Improved caching on WP_Site_Query
--------------------------------------+------------------------
Reporter: spacedmonkey | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.9
Component: Networks and Sites | Version: 4.6
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: multisite
--------------------------------------+------------------------
Changes (by flixos90):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"41059"]:
{{{
#!CommitTicketReference repository="" revision="41059"
Multisite: Improve caching in `WP_Site_Query` by ignoring the `$fields`
argument.
Prior to this change there were two different cache keys used for the same
query. That is because regardless of the `$fields` argument, the query
response will be the same.
Props spacedmonkey.
Fixes #41197.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41197#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list