diff --git a/src/wp-includes/load.php b/src/wp-includes/load.php index 9023932e94..b12a9c458f 100644 --- a/src/wp-includes/load.php +++ b/src/wp-includes/load.php @@ -628,7 +628,7 @@ function wp_start_object_cache() { require_once ABSPATH . WPINC . '/cache.php'; } - require_once( ABSPATH . WPINC . '/cache-compat.php' ); + require_once ABSPATH . WPINC . '/cache-compat.php'; /* * If cache supports reset, reset instead of init if already diff --git a/tests/phpunit/tests/cache.php b/tests/phpunit/tests/cache.php index 652df1c856..b902d33b2e 100644 --- a/tests/phpunit/tests/cache.php +++ b/tests/phpunit/tests/cache.php @@ -324,7 +324,7 @@ class Tests_Cache extends WP_UnitTestCase { wp_cache_set( 'foo2', 'bar', 'group1' ); wp_cache_set( 'foo1', 'bar', 'group2' ); - $found = wp_cache_get_multiple( array( 'foo1', 'foo2', 'foo3', ), 'group1' ); + $found = wp_cache_get_multiple( array( 'foo1', 'foo2', 'foo3' ), 'group1' ); $expected = array( 'foo1' => 'bar',