Use correct variable. see #22922.

git-svn-id: https://develop.svn.wordpress.org/trunk@25105 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2013-08-23 20:56:50 +00:00
parent 1f24e6d76b
commit ad94ffb64d
1 changed files with 1 additions and 1 deletions

View File

@ -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;