[wp-trac] [WordPress Trac] #31463: Avoid reaching inside the object cache object in tests
WordPress Trac
noreply at wordpress.org
Wed Mar 4 20:20:27 UTC 2015
#31463: Avoid reaching inside the object cache object in tests
------------------------------+------------------
Reporter: rmccue | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+------------------
Changes (by voldemortensen):
* keywords: needs-patch => has-patch
Comment:
I couldn't find anywhere that was actually setting these properties
anyway. I don't know if I'm missing something but I don't see a purpose
for these lines. The `$wp_object_cache->cache = array();` seems to be
redundant as that's what wp_cache_flush does.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31463#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list