[wp-trac] [WordPress Trac] #41347: Improved caching on WP_Network_Query
WordPress Trac
noreply at wordpress.org
Mon Jul 17 20:15:29 UTC 2017
#41347: Improved caching on WP_Network_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:"41063"]:
{{{
#!CommitTicketReference repository="" revision="41063"
Multisite: Improve caching in `WP_Network_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. This was already fixed for `WP_Site_Query` in
[41059].
Props spacedmonkey.
Fixes #41347.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41347#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list