[wp-trac] [WordPress Trac] #42251: Cache not found values for sites and network lookups by ID
WordPress Trac
noreply at wordpress.org
Tue Oct 17 16:11:27 UTC 2017
#42251: Cache not found values for sites and network lookups by ID
-------------------------------------------------+-------------------------
Reporter: flixos90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Networks and Sites | Review
Severity: normal | Version:
Keywords: needs-unit-tests dev-feedback has- | Resolution:
patch | Focuses: multisite
-------------------------------------------------+-------------------------
Changes (by flixos90):
* keywords: needs-patch needs-unit-tests dev-feedback => needs-unit-tests
dev-feedback has-patch
Comment:
[attachment:42251.diff] caches the value -1 for falsy lookups of sites and
networks by ID. It furthermore ensures that upon inserting a new network,
the cache value for that ID is cleaned.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42251#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list