phpdoc typo fixes for get_template_part(). Props dgwyer, SergeyBiryukov. fixes #18555
git-svn-id: https://develop.svn.wordpress.org/trunk@18723 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
83f0e2c349
commit
1cd6cf0f0c
@ -88,12 +88,12 @@ function get_sidebar( $name = null ) {
|
||||
* The template is included using require, not require_once, so you may include the
|
||||
* same template part multiple times.
|
||||
*
|
||||
* For the parameter, if the file is called "{slug}-special.php" then specify
|
||||
* For the $name parameter, if the file is called "{slug}-special.php" then specify
|
||||
* "special".
|
||||
*
|
||||
* @uses locate_template()
|
||||
* @since 3.0.0
|
||||
* @uses do_action() Calls 'get_template_part{$slug}' action.
|
||||
* @uses do_action() Calls 'get_template_part_{$slug}' action.
|
||||
*
|
||||
* @param string $slug The slug name for the generic template.
|
||||
* @param string $name The name of the specialised template.
|
||||
|
Loading…
Reference in New Issue
Block a user