diff --git a/src/wp-cron.php b/src/wp-cron.php index 99e8f95821..489550dedc 100644 --- a/src/wp-cron.php +++ b/src/wp-cron.php @@ -60,7 +60,7 @@ function _get_cron_lock() { global $wpdb; $value = 0; - if (wp_using_ext_object_cache()) { + if ( wp_using_ext_object_cache() ) { /* * Skip local cache and force re-fetch of doing_cron transient * in case another process updated the cache. diff --git a/tests/phpunit/tests/functions.php b/tests/phpunit/tests/functions.php index c4163d52d4..e6b8580dc8 100644 --- a/tests/phpunit/tests/functions.php +++ b/tests/phpunit/tests/functions.php @@ -27,7 +27,7 @@ class Tests_Functions extends WP_UnitTestCase { $this->assertSame( array(), wp_parse_args( $a ) ); $b = array( '_baba' => 5, - 'yZ' => 'bab', + 'yZ' => 'baba', 'a' => array( 5, 111, 'x' ), ); $this->assertSame(