mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 04:34:31 +00:00
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 git-svn-id: https://develop.svn.wordpress.org/trunk@52205 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1584,7 +1584,7 @@ if ( ! function_exists( 'wp_notify_postauthor' ) ) :
|
||||
* @since 3.7.0
|
||||
*
|
||||
* @param string[] $emails An array of email addresses to receive a comment notification.
|
||||
* @param int $comment_id The comment ID.
|
||||
* @param string $comment_id The comment ID as a numeric string.
|
||||
*/
|
||||
$emails = apply_filters( 'comment_notification_recipients', $emails, $comment->comment_ID );
|
||||
$emails = array_filter( $emails );
|
||||
@@ -1605,9 +1605,9 @@ if ( ! function_exists( 'wp_notify_postauthor' ) ) :
|
||||
*
|
||||
* @since 3.8.0
|
||||
*
|
||||
* @param bool $notify Whether to notify the post author of their own comment.
|
||||
* Default false.
|
||||
* @param int $comment_id The comment ID.
|
||||
* @param bool $notify Whether to notify the post author of their own comment.
|
||||
* Default false.
|
||||
* @param string $comment_id The comment ID as a numeric string.
|
||||
*/
|
||||
$notify_author = apply_filters( 'comment_notification_notify_author', false, $comment->comment_ID );
|
||||
|
||||
@@ -1740,7 +1740,7 @@ if ( ! function_exists( 'wp_notify_postauthor' ) ) :
|
||||
* @since 1.5.2
|
||||
*
|
||||
* @param string $notify_message The comment notification email text.
|
||||
* @param int $comment_id Comment ID.
|
||||
* @param string $comment_id Comment ID as a numeric string.
|
||||
*/
|
||||
$notify_message = apply_filters( 'comment_notification_text', $notify_message, $comment->comment_ID );
|
||||
|
||||
@@ -1750,7 +1750,7 @@ if ( ! function_exists( 'wp_notify_postauthor' ) ) :
|
||||
* @since 1.5.2
|
||||
*
|
||||
* @param string $subject The comment notification email subject.
|
||||
* @param int $comment_id Comment ID.
|
||||
* @param string $comment_id Comment ID as a numeric string.
|
||||
*/
|
||||
$subject = apply_filters( 'comment_notification_subject', $subject, $comment->comment_ID );
|
||||
|
||||
@@ -1760,7 +1760,7 @@ if ( ! function_exists( 'wp_notify_postauthor' ) ) :
|
||||
* @since 1.5.2
|
||||
*
|
||||
* @param string $message_headers Headers for the comment notification email.
|
||||
* @param int $comment_id Comment ID.
|
||||
* @param string $comment_id Comment ID as a numeric string.
|
||||
*/
|
||||
$message_headers = apply_filters( 'comment_notification_headers', $message_headers, $comment->comment_ID );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user