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
This commit is contained in:
hellofromTonya 2022-05-03 18:57:08 +00:00
parent 68bcc2cbef
commit 0ea8ac36ba
1 changed files with 1 additions and 1 deletions

View File

@ -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.