Make WordPress Core


Ignore:
Timestamp:
06/20/2020 12:00:07 PM (3 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/comment-template.php

    r47984 r48104  
    531531     * @param string[]    $classes    An array of comment classes.
    532532     * @param string      $class      A comma-separated list of additional classes added to the list.
    533      * @param int         $comment_id The comment id.
     533     * @param int         $comment_id The comment ID.
    534534     * @param WP_Comment  $comment    The comment object.
    535535     * @param int|WP_Post $post_id    The post ID or WP_Post object.
     
    658658
    659659/**
    660  * Retrieves the comment id of the current comment.
     660 * Retrieves the comment ID of the current comment.
    661661 *
    662662 * @since 1.5.0
     
    680680
    681681/**
    682  * Displays the comment id of the current comment.
     682 * Displays the comment ID of the current comment.
    683683 *
    684684 * @since 0.71
     
    19231923
    19241924    /**
    1925      * Filters the returned comment id fields.
     1925     * Filters the returned comment ID fields.
    19261926     *
    19271927     * @since 3.0.0
Note: See TracChangeset for help on using the changeset viewer.