WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#42317 closed defect (bug) (fixed)

Small typo in the PHPdoc description for path_join()

Reported by: birgire Owned by: SergeyBiryukov
Milestone: 4.9 Priority: normal
Severity: normal Version: 2.5
Component: Filesystem API Keywords: good-first-bug has-patch commit
Focuses: docs Cc:

Description

It looks like:

* Test if a give filesystem path is absolute.

should be:

* Test if a given filesystem path is absolute.

in the PHPdoc description for the path_join() function,

Source:

https://core.trac.wordpress.org/browser/tags/4.8/src/wp-includes/functions.php#L1644

It could be a good-first-bug

Attachments (1)

42317.patch (388 bytes) - added by octalmage 4 years ago.

Download all attachments as: .zip

Change History (7)

#1 @stevenkword
4 years ago

Looks like a great first bug to me!

#2 @SergeyBiryukov
4 years ago

  • Component changed from General to Filesystem API
  • Keywords good-first-bug needs-patch added

@octalmage
4 years ago

#3 @octalmage
4 years ago

  • Keywords has-patch added; needs-patch removed

Patch created at 4.9, r41978.

#4 @stevenkword
4 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 5.0

Awesome @octalmage -- Thank you for your contribution

#5 @SergeyBiryukov
4 years ago

  • Milestone changed from 5.0 to 4.9

#6 @SergeyBiryukov
4 years ago

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

In 41983:

Docs: Fix typo in path_is_absolute() description.

Props octalmage, birgire.
Fixes #42317.

Note: See TracTickets for help on using tickets.