Skip to content

Commit 12a8203

Browse files
committed
Build/Test Tools: Revert the test and coding standards changes in [51511].
These were temporary for testing Slack messages when GitHub Action workflows fail. See #52644. git-svn-id: https://develop.svn.wordpress.org/trunk@51512 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 7a60b8e commit 12a8203

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wp-cron.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function _get_cron_lock() {
6060
global $wpdb;
6161

6262
$value = 0;
63-
if (wp_using_ext_object_cache()) {
63+
if ( wp_using_ext_object_cache() ) {
6464
/*
6565
* Skip local cache and force re-fetch of doing_cron transient
6666
* in case another process updated the cache.

tests/phpunit/tests/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function test_wp_parse_args_array() {
2727
$this->assertSame( array(), wp_parse_args( $a ) );
2828
$b = array(
2929
'_baba' => 5,
30-
'yZ' => 'bab',
30+
'yZ' => 'baba',
3131
'a' => array( 5, 111, 'x' ),
3232
);
3333
$this->assertSame(

0 commit comments

Comments
 (0)