WordPress.org

Make WordPress Core

Ticket #31463: 31463.diff

File 31463.diff, 569 bytes (added by voldemortensen, 6 years ago)
  • tests/phpunit/includes/testcase.php

     
    167167
    168168        function flush_cache() {
    169169                global $wp_object_cache;
    170                 $wp_object_cache->group_ops = array();
    171                 $wp_object_cache->stats = array();
    172                 $wp_object_cache->memcache_debug = array();
    173                 $wp_object_cache->cache = array();
    174170                if ( method_exists( $wp_object_cache, '__remoteset' ) ) {
    175171                        $wp_object_cache->__remoteset();
    176172                }