From 0ea8ac36bafa09c0199995b11c9f943368769a4b Mon Sep 17 00:00:00 2001 From: hellofromTonya Date: Tue, 3 May 2022 18:57:08 +0000 Subject: [PATCH] Build/Test Tools: Ensure version number is in 'X.X' format after float math: `Tests_Basic::test_security_md()`. After subtracing `0.1` from a `X.1` current version, the result was a single digit without the `.0` decimal. Using `number_format()` ensures each current version has a decimal before appending the `.x` before the test. This commit also reverts [55346] which was a temporary workaround. Follow-up to [55346], [47403]. Fixes #55667. Built from https://develop.svn.wordpress.org/trunk@53347 git-svn-id: http://core.svn.wordpress.org/trunk@52936 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 3c2cfc6713..7e000eb420 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53346'; +$wp_version = '6.1-alpha-53347'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.