Make WordPress Core

Ticket #18555: 18555.patch

File 18555.patch, 854 bytes (added by SergeyBiryukov, 15 years ago)
  • wp-includes/general-template.php

     
    106106 * The template is included using require, not require_once, so you may include the
    107107 * same template part multiple times.
    108108 *
    109  * For the parameter, if the file is called "{slug}-special.php" then specify
     109 * For the $name parameter, if the file is called "{slug}-special.php" then specify
    110110 * "special".
    111111 *
    112112 * @uses locate_template()
    113113 * @since 3.0.0
    114  * @uses do_action() Calls 'get_template_part{$slug}' action.
     114 * @uses do_action() Calls 'get_template_part_{$slug}' action.
    115115 *
    116116 * @param string $slug The slug name for the generic template.
    117117 * @param string $name The name of the specialised template.