Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#40248 closed defect (bug) (fixed)

Tiny typo!

Reported by: redrambles's profile redrambles Owned by: sergeybiryukov's profile 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
7 years ago

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

#2 @SergeyBiryukov
7 years 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.