[wp-trac] [WordPress Trac] #31491: Enhance unit tests for persistent object caching
WordPress Trac
noreply at wordpress.org
Tue Oct 13 02:35:38 UTC 2015
#31491: Enhance unit tests for persistent object caching
------------------------------+-----------------------
Reporter: ocean90 | Owner: ocean90
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 4.4
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
------------------------------+-----------------------
Comment (by boonebgorges):
In [changeset:"35112"]:
{{{
#!CommitTicketReference repository="" revision="35112"
In term meta lazy-loading tests, force `WP_Query` to cache results.
By default, `WP_Query` will not cache query results when using a
persistent
object cache. The lazyload tests, however, depend on the cache being set
during
each `WP_Query`, because the object cache is cleared between tests.
See #31491.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31491#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list