Coding Standards: Cleans up some PHPCS issues introduced in [47938].
See #20875. git-svn-id: https://develop.svn.wordpress.org/trunk@47942 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5097db06aa
commit
45e9cb7066
@ -628,7 +628,7 @@ function wp_start_object_cache() {
|
|||||||
require_once ABSPATH . WPINC . '/cache.php';
|
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
|
* If cache supports reset, reset instead of init if already
|
||||||
|
@ -324,7 +324,7 @@ class Tests_Cache extends WP_UnitTestCase {
|
|||||||
wp_cache_set( 'foo2', 'bar', 'group1' );
|
wp_cache_set( 'foo2', 'bar', 'group1' );
|
||||||
wp_cache_set( 'foo1', 'bar', 'group2' );
|
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(
|
$expected = array(
|
||||||
'foo1' => 'bar',
|
'foo1' => 'bar',
|
||||||
|
Loading…
Reference in New Issue
Block a user