Make WordPress Core


Ignore:
Timestamp:
06/20/2020 12:00:07 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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

See #49572.

File:
1 edited

Legend:

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

    r48102 r48104  
    15531553 * @since 2.7.0
    15541554 *
    1555  * @param int|stdClass $link Optional. Bookmark ID. Default is the id of the current bookmark.
     1555 * @param int|stdClass $link Optional. Bookmark ID. Default is the ID of the current bookmark.
    15561556 * @return string|void The edit bookmark link URL.
    15571557 */
     
    38453845 * @since 3.0.0
    38463846 *
    3847  * @param int    $id          Optional. A post or site id. Default is 0, which means the current post or site.
    3848  * @param string $context     Optional. Whether the id is a 'site' id, 'post' id, or 'media' id. If 'post',
     3847 * @param int    $id          Optional. A post or site ID. Default is 0, which means the current post or site.
     3848 * @param string $context     Optional. Whether the ID is a 'site' id, 'post' id, or 'media' id. If 'post',
    38493849 *                            the post_type of the post is consulted. If 'query', the current query is consulted
    3850  *                            to determine the id and context. Default 'post'.
     3850 *                            to determine the ID and context. Default 'post'.
    38513851 * @param bool   $allow_slugs Optional. Whether to allow post slugs in the shortlink. It is up to the plugin how
    38523852 *                            and whether to honor this. Default true.
Note: See TracChangeset for help on using the changeset viewer.