WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#30504 closed defect (bug) (fixed)

_split_str_by_whitespace docs example is incorrect

Reported by: voldemortensen Owned by:
Milestone: 4.1 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: docs Cc:

Description

What the title says. The last two characters are not given in the example return array.

Attachments (2)

30504.diff (652 bytes) - added by voldemortensen 6 years ago.
30504(1).diff (650 bytes) - added by voldemortensen 6 years ago.

Download all attachments as: .zip

Change History (6)

@voldemortensen
6 years ago

#1 @voldemortensen
6 years ago

  • Keywords has-patch added

This ticket was mentioned in Slack in #core by voldemortensen. View the logs.


6 years ago

#3 @dd32
6 years ago

  • Focuses docs added
  • Milestone changed from Awaiting Review to 4.1

In r30575:
Fix the PHPDoc example for _split_str_by_whitespace().
Props voldemortensen. Fixes #30504

#4 @dd32
6 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.