Make WordPress Core


Ignore:
Timestamp:
09/15/2022 12:47:16 PM (19 months ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs in Template Loading functions descriptions, as per docblocks standards.

See #55646.

File:
1 edited

Legend:

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

    r54179 r54180  
    88
    99/**
    10  * Retrieve path to a template
     10 * Retrieves path to a template.
    1111 *
    1212 * Used to quickly retrieve the path of a template without including the file
     
    105105
    106106/**
    107  * Retrieve path of index template in current or parent template.
     107 * Retrieves path of index template in current or parent template.
    108108 *
    109109 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'}
     
    121121
    122122/**
    123  * Retrieve path of 404 template in current or parent template.
     123 * Retrieves path of 404 template in current or parent template.
    124124 *
    125125 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'}
     
    137137
    138138/**
    139  * Retrieve path of archive template in current or parent template.
     139 * Retrieves path of archive template in current or parent template.
    140140 *
    141141 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'}
     
    163163
    164164/**
    165  * Retrieve path of post type archive template in current or parent template.
     165 * Retrieves path of post type archive template in current or parent template.
    166166 *
    167167 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'}
     
    189189
    190190/**
    191  * Retrieve path of author template in current or parent template.
     191 * Retrieves path of author template in current or parent template.
    192192 *
    193193 * The hierarchy for this template looks like:
     
    227227
    228228/**
    229  * Retrieve path of category template in current or parent template.
     229 * Retrieves path of category template in current or parent template.
    230230 *
    231231 * The hierarchy for this template looks like:
     
    273273
    274274/**
    275  * Retrieve path of tag template in current or parent template.
     275 * Retrieves path of tag template in current or parent template.
    276276 *
    277277 * The hierarchy for this template looks like:
     
    319319
    320320/**
    321  * Retrieve path of custom taxonomy term template in current or parent template.
     321 * Retrieves path of custom taxonomy term template in current or parent template.
    322322 *
    323323 * The hierarchy for this template looks like:
     
    366366
    367367/**
    368  * Retrieve path of date template in current or parent template.
     368 * Retrieves path of date template in current or parent template.
    369369 *
    370370 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'}
     
    382382
    383383/**
    384  * Retrieve path of home template in current or parent template.
     384 * Retrieves path of home template in current or parent template.
    385385 *
    386386 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'}
     
    400400
    401401/**
    402  * Retrieve path of front page template in current or parent template.
     402 * Retrieves path of front page template in current or parent template.
    403403 *
    404404 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'}
     
    418418
    419419/**
    420  * Retrieve path of Privacy Policy page template in current or parent template.
     420 * Retrieves path of Privacy Policy page template in current or parent template.
    421421 *
    422422 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'}
     
    436436
    437437/**
    438  * Retrieve path of page template in current or parent template.
     438 * Retrieves path of page template in current or parent template.
    439439 *
    440440 * Note: For block themes, use locate_block_template function instead.
     
    499499
    500500/**
    501  * Retrieve path of search template in current or parent template.
     501 * Retrieves path of search template in current or parent template.
    502502 *
    503503 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'}
     
    515515
    516516/**
    517  * Retrieve path of single template in current or parent template. Applies to single Posts,
     517 * Retrieves path of single template in current or parent template. Applies to single Posts,
    518518 * single Attachments, and single custom post types.
    519519 *
     
    629629
    630630/**
    631  * Retrieve path of attachment template in current or parent template.
     631 * Retrieves path of attachment template in current or parent template.
    632632 *
    633633 * The hierarchy for this template looks like:
     
    681681
    682682/**
    683  * Retrieve the name of the highest priority template file that exists.
     683 * Retrieves the name of the highest priority template file that exists.
    684684 *
    685685 * Searches in the STYLESHEETPATH before TEMPLATEPATH and wp-includes/theme-compat
     
    747747
    748748/**
    749  * Require the template file with WordPress environment.
     749 * Requires the template file with WordPress environment.
    750750 *
    751751 * The globals are set up for the template file to ensure that the WordPress
Note: See TracChangeset for help on using the changeset viewer.