From 6a97b83d0129c1816c1645cd9618dbf41cfb0db4 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 31 Mar 2022 08:17:06 +0000 Subject: [PATCH] Docs: Typo correction in `wp_fuzzy_number_match` DocBlock. Props costdev, kebbet. Fixes #55493. Built from https://develop.svn.wordpress.org/trunk@53035 git-svn-id: http://core.svn.wordpress.org/trunk@52624 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 8923cc23f3..a48b4bfc86 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -8411,7 +8411,7 @@ function is_php_version_compatible( $required ) { } /** - * Check if two numbers are nearly the same. + * Checks if two numbers are nearly the same. * * This is similar to using `round()` but the precision is more fine-grained. * @@ -8420,7 +8420,7 @@ function is_php_version_compatible( $required ) { * @param int|float $expected The expected value. * @param int|float $actual The actual number. * @param int|float $precision The allowed variation. - * @return bool Whether the numbers match whithin the specified precision. + * @return bool Whether the numbers match within the specified precision. */ function wp_fuzzy_number_match( $expected, $actual, $precision = 1 ) { return abs( (float) $expected - (float) $actual ) <= $precision; diff --git a/wp-includes/version.php b/wp-includes/version.php index f5a1213f50..51e6be6b3f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-53034'; +$wp_version = '6.0-alpha-53035'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.