Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#55493 closed enhancement (fixed)

Docs: Typo in `wp_fuzzy_number_match()`.

Reported by: costdev Owned by: audrasjb
Priority: normal Milestone: 6.0
Component: General Version: 5.3
Severity: trivial Keywords: good-first-bug has-patch commit assigned-for-commit
Cc: Focuses: docs

Description

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

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

Change History (7)

This ticket was mentioned in ​PR #2482 on ​WordPress/wordpress-develop by ​kebbet.


5 years ago
#1

  • Keywords has-patch added; needs-patch removed

#3 @costdev
5 years ago

  • Keywords commit added

Thanks for the patch @kebbet! The PR looks good to me. Adding commit.

I have also linked this ticket in #54729 as a related ticket.

#4 @audrasjb
5 years ago

  • Keywords assigned-for-commit added
  • Owner set to audrasjb
  • Status new → accepted

#5 @audrasjb
5 years ago

@kebbet as said in the ticket description, tickets labelled good-first-bug should be kept for people who never contributed to WordPress Core before, as it is a great way to learn how to create a patch, etc :)

#6 @audrasjb
5 years ago

  • Resolution → fixed
  • Status accepted → closed

In 53035:

Docs: Typo correction in wp_fuzzy_number_match DocBlock.

Props costdev, kebbet.
Fixes #55493.

Note: See TracTickets for help on using tickets.