Use correct variable. see #22922.
Built from https://develop.svn.wordpress.org/trunk@25105 git-svn-id: http://core.svn.wordpress.org/trunk@25087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0adcab1f7f
commit
688ecb9fcc
|
@ -1082,7 +1082,7 @@ function wp_notify_postauthor( $comment_id, $comment_type = '' ) {
|
|||
$message_headers = apply_filters( 'comment_notification_headers', $message_headers, $comment_id );
|
||||
|
||||
foreach ( $emails as $email ) {
|
||||
@wp_mail( $emails, $subject, $notify_message, $message_headers );
|
||||
@wp_mail( $email, $subject, $notify_message, $message_headers );
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue