Make WordPress Core


Ignore:
Timestamp:
11/18/2021 01:55:36 PM (5 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/pluggable.php

    r52083 r52205  
    15851585                 *
    15861586                 * @param string[] $emails     An array of email addresses to receive a comment notification.
    1587                  * @param int      $comment_id The comment ID.
     1587                 * @param string   $comment_id The comment ID as a numeric string.
    15881588                 */
    15891589                $emails = apply_filters( 'comment_notification_recipients', $emails, $comment->comment_ID );
     
    16061606                 * @since 3.8.0
    16071607                 *
    1608                  * @param bool $notify     Whether to notify the post author of their own comment.
    1609                  *                         Default false.
    1610                  * @param int  $comment_id The comment ID.
     1608                 * @param bool   $notify     Whether to notify the post author of their own comment.
     1609                 *                           Default false.
     1610                 * @param string $comment_id The comment ID as a numeric string.
    16111611                 */
    16121612                $notify_author = apply_filters( 'comment_notification_notify_author', false, $comment->comment_ID );
     
    17411741                 *
    17421742                 * @param string $notify_message The comment notification email text.
    1743                  * @param int    $comment_id     Comment ID.
     1743                 * @param string $comment_id     Comment ID as a numeric string.
    17441744                 */
    17451745                $notify_message = apply_filters( 'comment_notification_text', $notify_message, $comment->comment_ID );
     
    17511751                 *
    17521752                 * @param string $subject    The comment notification email subject.
    1753                  * @param int    $comment_id Comment ID.
     1753                 * @param string $comment_id Comment ID as a numeric string.
    17541754                 */
    17551755                $subject = apply_filters( 'comment_notification_subject', $subject, $comment->comment_ID );
     
    17611761                 *
    17621762                 * @param string $message_headers Headers for the comment notification email.
    1763                  * @param int    $comment_id      Comment ID.
     1763                 * @param string $comment_id      Comment ID as a numeric string.
    17641764                 */
    17651765                $message_headers = apply_filters( 'comment_notification_headers', $message_headers, $comment->comment_ID );
Note: See TracChangeset for help on using the changeset viewer.