WordPress.org

Make WordPress Core

Changeset 47545


Ignore:
Timestamp:
04/02/2020 03:49:53 PM (18 months ago)
Author:
SergeyBiryukov
Message:

Docs: Use third-person singular verbs for function descriptions in wp-includes/category-template.php, per the documentation standards.

See #49572.

File:
1 edited

Legend:

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

    r47219 r47545  
    99
    1010/**
    11  * Retrieve category link URL.
     11 * Retrieves category link URL.
    1212 *
    1313 * @since 1.0.0
     
    3232
    3333/**
    34  * Retrieve category parents with separator.
     34 * Retrieves category parents with separator.
    3535 *
    3636 * @since 1.2.0
     
    6262
    6363/**
    64  * Retrieve post categories.
     64 * Retrieves post categories.
    6565 *
    6666 * This tag may be used outside The Loop by passing a post id as the parameter.
     
    9999
    100100/**
    101  * Retrieve category name based on category ID.
     101 * Retrieves category name based on category ID.
    102102 *
    103103 * @since 0.71
     
    118118
    119119/**
    120  * Retrieve category list for a post in either HTML list or custom format.
     120 * Retrieves category list for a post in either HTML list or custom format.
    121121 *
    122122 * @since 1.5.1
     
    252252
    253253/**
    254  * Display category list for a post in either HTML list or custom format.
     254 * Displays category list for a post in either HTML list or custom format.
    255255 *
    256256 * @since 0.71
     
    266266
    267267/**
    268  * Retrieve category description.
     268 * Retrieves category description.
    269269 *
    270270 * @since 1.0.0
     
    278278
    279279/**
    280  * Display or retrieve the HTML dropdown list of categories.
     280 * Displays or retrieves the HTML dropdown list of categories.
    281281 *
    282282 * The 'hierarchical' argument, which is disabled by default, will override the
     
    466466
    467467/**
    468  * Display or retrieve the HTML list of categories.
     468 * Displays or retrieves the HTML list of categories.
    469469 *
    470470 * @since 2.1.0
     
    10591059
    10601060/**
    1061  * Retrieve HTML list content for category list.
     1061 * Retrieves HTML list content for category list.
    10621062 *
    10631063 * @since 2.1.0
     
    10821082
    10831083/**
    1084  * Retrieve HTML dropdown (select) content for category list.
     1084 * Retrieves HTML dropdown (select) content for category list.
    10851085 *
    10861086 * @since 2.1.0
     
    11091109
    11101110/**
    1111  * Retrieve the link to the tag.
     1111 * Retrieves the link to the tag.
    11121112 *
    11131113 * @since 2.3.0
     
    11221122
    11231123/**
    1124  * Retrieve the tags for a post.
     1124 * Retrieves the tags for a post.
    11251125 *
    11261126 * @since 2.3.0
     
    11441144
    11451145/**
    1146  * Retrieve the tags for a post formatted as a string.
     1146 * Retrieves the tags for a post formatted as a string.
    11471147 *
    11481148 * @since 2.3.0
     
    11711171
    11721172/**
    1173  * Retrieve the tags for a post.
     1173 * Retrieves the tags for a post.
    11741174 *
    11751175 * @since 2.3.0
     
    11921192
    11931193/**
    1194  * Retrieve tag description.
     1194 * Retrieves tag description.
    11951195 *
    11961196 * @since 2.8.0
     
    12041204
    12051205/**
    1206  * Retrieve term description.
     1206 * Retrieves term description.
    12071207 *
    12081208 * @since 2.8.0
     
    12251225
    12261226/**
    1227  * Retrieve the terms of the taxonomy that are attached to the post.
     1227 * Retrieves the terms of the taxonomy that are attached to the post.
    12281228 *
    12291229 * @since 2.5.0
     
    12681268
    12691269/**
    1270  * Retrieve a post's terms as a list with specified format.
     1270 * Retrieves a post's terms as a list with specified format.
    12711271 *
    12721272 * @since 2.5.0
     
    13161316
    13171317/**
    1318  * Retrieve term parents with separator.
     1318 * Retrieves term parents with separator.
    13191319 *
    13201320 * @since 4.8.0
     
    13811381
    13821382/**
    1383  * Display the terms in a list.
     1383 * Displays the terms in a list.
    13841384 *
    13851385 * @since 2.5.0
     
    14141414
    14151415/**
    1416  * Check if the current post has any of given category.
     1416 * Checks if the current post has any of given category.
    14171417 *
    14181418 * @since 3.1.0
     
    14521452
    14531453/**
    1454  * Check if the current post has any of given terms.
     1454 * Checks if the current post has any of given terms.
    14551455 *
    14561456 * The given terms are checked against the post's terms' term_ids, names and slugs.
Note: See TracChangeset for help on using the changeset viewer.