From bdb18119353f3a89b7bdba6ec8267fea5122af10 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 20 Aug 2019 01:35:56 +0000 Subject: [PATCH] Date/Time: Fix race conditions in `current_time()` tests. * Restore default timezone before performing assertions to avoid affecting other tests in case of failure. * Use delta comparison for timestamps to avoid race conditions. Props SergeyBiryukov, desrosj. Fixes #45821. Built from https://develop.svn.wordpress.org/trunk@45857 git-svn-id: http://core.svn.wordpress.org/trunk@45668 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index d35b21c18f..2cf3eca9a3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45856'; +$wp_version = '5.3-alpha-45857'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.