Revert [29267], as it causes unit test breakage and appears unnecessary. see #28986.

git-svn-id: https://develop.svn.wordpress.org/trunk@29274 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2014-07-23 02:22:57 +00:00
parent 2d466f4c86
commit c72d29e63e
1 changed files with 2 additions and 7 deletions

View File

@ -11,12 +11,7 @@ class WP_UnitTestCase extends PHPUnit_Framework_TestCase {
protected $expected_doing_it_wrong = array();
protected $caught_doing_it_wrong = array();
protected static $hooks_saved = array(
'merged_filters' => array(),
'wp_actions' => array(),
'wp_current_filter' => array(),
'wp_filter' => array(),
);
protected static $hooks_saved = array();
protected static $ignore_files;
/**
@ -106,7 +101,7 @@ class WP_UnitTestCase extends PHPUnit_Framework_TestCase {
$GLOBALS[ $key ] = self::$hooks_saved[ $key ];
}
}
function flush_cache() {
global $wp_object_cache;
$wp_object_cache->group_ops = array();