Make WordPress Core


Ignore:
Timestamp:
03/31/2022 08:15:30 AM (3 years ago)
Author:
audrasjb
Message:

Docs: Typo correction in wp_fuzzy_number_match DocBlock.

Props costdev, kebbet.
Fixes #55493.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r53020 r53035  
    84128412
    84138413/**
    8414  * Check if two numbers are nearly the same.
     8414 * Checks if two numbers are nearly the same.
    84158415 *
    84168416 * This is similar to using `round()` but the precision is more fine-grained.
     
    84218421 * @param int|float $actual    The actual number.
    84228422 * @param int|float $precision The allowed variation.
    8423  * @return bool Whether the numbers match whithin the specified precision.
     8423 * @return bool Whether the numbers match within the specified precision.
    84248424 */
    84258425function wp_fuzzy_number_match( $expected, $actual, $precision = 1 ) {
Note: See TracChangeset for help on using the changeset viewer.