Make WordPress Core

Changeset 52994


Ignore:
Timestamp:
03/25/2022 09:32:50 PM (2 years ago)
Author:
audrasjb
Message:

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

See #54729.

File:
1 edited

Legend:

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

    r49670 r52994  
    145145
    146146/**
    147  * Add a new rewrite tag (like %postname%).
     147 * Adds a new rewrite tag (like %postname%).
    148148 *
    149149 * The `$query` parameter is optional. If it is omitted you must ensure that you call
     
    192192
    193193/**
    194  * Add permalink structure.
     194 * Adds a permalink structure.
    195195 *
    196196 * @since 3.0.0
     
    238238
    239239/**
    240  * Add a new feed type like /atom1/.
     240 * Adds a new feed type like /atom1/.
    241241 *
    242242 * @since 2.1.0
     
    266266
    267267/**
    268  * Remove rewrite rules and then recreate rewrite rules.
     268 * Removes rewrite rules and then recreate rewrite rules.
    269269 *
    270270 * @since 3.0.0
     
    284284
    285285/**
    286  * Add an endpoint, like /trackback/.
     286 * Adds an endpoint, like /trackback/.
    287287 *
    288288 * Adding an endpoint creates extra rewrite rules for each of the matching
     
    358358
    359359/**
    360  * Resolve numeric slugs that collide with date permalinks.
     360 * Resolves numeric slugs that collide with date permalinks.
    361361 *
    362362 * Permalinks of posts with numeric slugs can sometimes look to WP_Query::parse_query()
     
    474474
    475475/**
    476  * Examine a URL and try to determine the post ID it represents.
     476 * Examines a URL and try to determine the post ID it represents.
    477477 *
    478478 * Checks are supposedly from the hosted site blog.
Note: See TracChangeset for help on using the changeset viewer.