Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#18555 closed defect (bug) (fixed)

Small comment typo.

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

Description

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 14 years ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
14 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.

#2 @ryan
14 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.