WordPress.org

Make WordPress Core

Opened 5 weeks ago

Closed 5 weeks ago

#40248 closed defect (bug) (fixed)

Tiny typo!

Reported by: redrambles Owned by: SergeyBiryukov
Milestone: 4.8 Priority: normal
Severity: normal Version: 4.7.3
Component: Formatting Keywords:
Focuses: docs Cc:

Description

There is a typo in the comment just before the return statement in the 'wp_trim_words' function, in wp-includes/formatting.php.

Screenshot: https://cloudup.com/cOdyEIoUldE

Change History (2)

#1 @SergeyBiryukov
5 weeks ago

  • Component changed from General to Formatting
  • Focuses docs added
  • Milestone changed from Awaiting Review to 4.8

#2 @SergeyBiryukov
5 weeks ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 40322:

Docs: Correct default value in @param entry for the $num_words parameter of wp_trim_words filter.

Props redrambles.
Fixes #40248.

Note: See TracTickets for help on using tickets.