Make WordPress Core

Ticket #26742: template.php.2.patch

File template.php.2.patch, 774 bytes (added by UmeshSingla, 12 years ago)

Updated description for get_query_template(), as the filter is being applied here in actual

  • template.php

     
    1515 * without the use of the other get_*_template() functions.
    1616 *
    1717 * @since 1.5.0
    18  *
     18 * @uses apply_filters() Calls '{$type}_template' filter on found path.
     19 *
    1920 * @param string $type Filename without extension.
    2021 * @param array $templates An optional list of template candidates
    2122 * @return string Full path to file.
     
    188189 * template is used. If none of the files exist, then it will fall back on to
    189190 * index.php.
    190191 *
    191  * @since 2.5.0
    192  * @uses apply_filters() Calls 'taxonomy_template' filter on found path.
    193  *
    194192 * @return string
    195193 */
    196194function get_taxonomy_template() {