Make WordPress Core


Ignore:
Timestamp:
11/18/2021 01:55:36 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Corrections relating to types used in inline documentation for comment ID and site ID proprties.

Includes a correction for a typo introduced in [52204].

See #53399

File:
1 edited

Legend:

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

    r52029 r52205  
    14891489     * @since 4.9.0 Added the `$comment` parameter.
    14901490     *
    1491      * @param int        $comment_id The comment ID.
     1491     * @param string     $comment_id The comment ID as a numeric string.
    14921492     * @param WP_Comment $comment    The comment to be deleted.
    14931493     */
     
    15171517     * @since 4.9.0 Added the `$comment` parameter.
    15181518     *
    1519      * @param int        $comment_id The comment ID.
     1519     * @param string     $comment_id The comment ID as a numeric string.
    15201520     * @param WP_Comment $comment    The deleted comment.
    15211521     */
     
    15631563     * @since 4.9.0 Added the `$comment` parameter.
    15641564     *
    1565      * @param int        $comment_id The comment ID.
     1565     * @param string     $comment_id The comment ID as a numeric string.
    15661566     * @param WP_Comment $comment    The comment to be trashed.
    15671567     */
     
    15801580         * @since 4.9.0 Added the `$comment` parameter.
    15811581         *
    1582          * @param int        $comment_id The comment ID.
     1582         * @param string     $comment_id The comment ID as a numeric string.
    15831583         * @param WP_Comment $comment    The trashed comment.
    15841584         */
     
    16111611     * @since 4.9.0 Added the `$comment` parameter.
    16121612     *
    1613      * @param int        $comment_id The comment ID.
     1613     * @param string     $comment_id The comment ID as a numeric string.
    16141614     * @param WP_Comment $comment    The comment to be untrashed.
    16151615     */
     
    16311631         * @since 4.9.0 Added the `$comment` parameter.
    16321632         *
    1633          * @param int        $comment_id The comment ID.
     1633         * @param string     $comment_id The comment ID as a numeric string.
    16341634         * @param WP_Comment $comment    The untrashed comment.
    16351635         */
     
    17101710     * @since 4.9.0 Added the `$comment` parameter.
    17111711     *
    1712      * @param int        $comment_id The comment ID.
     1712     * @param string     $comment_id The comment ID as a numeric string.
    17131713     * @param WP_Comment $comment    The comment to be unmarked as spam.
    17141714     */
     
    17301730         * @since 4.9.0 Added the `$comment` parameter.
    17311731         *
    1732          * @param int        $comment_id The comment ID.
     1732         * @param string     $comment_id The comment ID as a numeric string.
    17331733         * @param WP_Comment $comment    The comment unmarked as spam.
    17341734         */
     
    18641864     * @since 2.7.0
    18651865     *
    1866      * @param int        $comment_ID The comment ID.
     1866     * @param string     $comment_ID The comment ID as a numeric string.
    18671867     * @param WP_Comment $comment    Comment object.
    18681868     */
     
    24342434     * @since 1.5.0
    24352435     *
    2436      * @param int    $comment_id     Comment ID.
     2436     * @param string $comment_id     Comment ID as a numeric string.
    24372437     * @param string $comment_status Current comment status. Possible values include
    24382438     *                               'hold', '0', 'approve', '1', 'spam', and 'trash'.
Note: See TracChangeset for help on using the changeset viewer.