Make WordPress Core


Ignore:
Timestamp:
12/12/2021 02:51:34 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way.

Follow-up to [48104].

See #53399.

File:
1 edited

Legend:

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

    r52258 r52357  
    39883988 *
    39893989 * @param int    $id          Optional. A post or site ID. Default is 0, which means the current post or site.
    3990  * @param string $context     Optional. Whether the ID is a 'site' id, 'post' id, or 'media' id. If 'post',
     3990 * @param string $context     Optional. Whether the ID is a 'site' ID, 'post' ID, or 'media' ID. If 'post',
    39913991 *                            the post_type of the post is consulted. If 'query', the current query is consulted
    39923992 *                            to determine the ID and context. Default 'post'.
Note: See TracChangeset for help on using the changeset viewer.