Make WordPress Core

Changeset 18723


Ignore:
Timestamp:
09/19/2011 07:01:03 PM (13 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r18665 r18723  
    8989 * same template part multiple times.
    9090 *
    91  * For the parameter, if the file is called "{slug}-special.php" then specify
     91 * For the $name parameter, if the file is called "{slug}-special.php" then specify
    9292 * "special".
    9393 *
    9494 * @uses locate_template()
    9595 * @since 3.0.0
    96  * @uses do_action() Calls 'get_template_part{$slug}' action.
     96 * @uses do_action() Calls 'get_template_part_{$slug}' action.
    9797 *
    9898 * @param string $slug The slug name for the generic template.
Note: See TracChangeset for help on using the changeset viewer.