From b5d09ecd99441b6ab269d6450d769d13f65f978c Mon Sep 17 00:00:00 2001 From: desrosj Date: Thu, 29 Jul 2021 19:48:58 +0000 Subject: [PATCH] Build/Test Tools: Post a message to #core in Slack when a workflow fails. This adds an additional step to each GitHub Action workflow file that posts a message to #core in Slack every time a workflow run fails. A minor test and spacing change is included in this commit in order to that messages are posted correctly and will be reverted after testing. See #52644. Built from https://develop.svn.wordpress.org/trunk@51511 git-svn-id: http://core.svn.wordpress.org/trunk@51122 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-cron.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-cron.php b/wp-cron.php index 489550dedc..99e8f95821 100644 --- a/wp-cron.php +++ b/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/wp-includes/version.php b/wp-includes/version.php index 4b36146582..65eff92a33 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51510'; +$wp_version = '5.9-alpha-51511'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.