[wp-trac] [WordPress Trac] #55493: Docs: Typo in `wp_fuzzy_number_match()`.

WordPress Trac noreply at wordpress.org
Thu Mar 31 07:06:21 UTC 2022


#55493: Docs: Typo in `wp_fuzzy_number_match()`.
-------------------------+----------------------------------------
 Reporter:  costdev      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  6.0
Component:  General      |    Version:  5.3
 Severity:  trivial      |   Keywords:  needs-patch good-first-bug
  Focuses:  docs         |
-------------------------+----------------------------------------
 The `@return` annotation in `wp_fuzzy_number_match()` has a typo:

   @return bool Whether the numbers match whithin the specified precision.

 "whithin" should be "within".

 [https://github.com/WordPress/wordpress-
 develop/blob/cab053271e272a21b4d140e50ac0d6a78094ecd5/src/wp-
 includes/functions.php#L8423 See source].

 Let's try to keep this one for someone who hasn't submitted a patch
 before. This is a great way to learn the workflow of contributing to Core.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55493>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list