Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#18555 closed defect (bug) (fixed)

Small comment typo.

Reported by: dgwyer Owned by: ryan
Milestone: 3.3 Priority: normal
Severity: trivial Version: 3.3
Component: General Keywords: has-patch
Focuses: Cc:


I think there is a minor comment typo in:

/wp-includes/general-template.php on line 109

The current line is:

  • For the parameter, if the file is called "{slug}-special.php" then specify

Should this not be:

  • For the $name parameter, if the file is called "{slug}-special.php" then specify

Attachments (1)

18555.patch (854 bytes) - added by SergeyBiryukov 4 years ago.

Download all attachments as: .zip

Change History (3)

@SergeyBiryukov4 years ago

comment:1 @SergeyBiryukov4 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 3.3

Related changeset: [13146]

Looks like the sentence was copied from get_sidebar(), which has only one parameter.

The patch also fixes a typo in the action.

comment:2 @ryan4 years ago

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

In [18723]:

phpdoc typo fixes for get_template_part(). Props dgwyer, SergeyBiryukov. fixes #18555

Note: See TracTickets for help on using tickets.