From 31481819251813bfd3d952be78021c0bce0d0aff Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 3 Aug 2021 15:14:03 +0000 Subject: [PATCH] Build/Test Tools: Revert changes only included for testing purposes. Follow up to [51535-51536]. See #52644. git-svn-id: https://develop.svn.wordpress.org/trunk@51537 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-cron.php | 2 +- tests/phpunit/tests/functions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(