Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#55493 closed enhancement (fixed)

Docs: Typo in `wp_fuzzy_number_match()`.

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

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.


2 years ago
#1

  • Keywords has-patch added; needs-patch removed

#3 @costdev
2 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
2 years ago

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

#5 @audrasjb
2 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
2 years ago

  • Resolution set to fixed
  • Status changed from accepted to 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.