1527 | | switch ( $comment->comment_type ) { |
1528 | | case 'trackback': |
1529 | | /* translators: %s: post title */ |
1530 | | $notify_message = sprintf( __( 'New trackback on your post "%s"' ), $post->post_title ) . "\r\n"; |
1531 | | /* translators: 1: trackback/pingback website name, 2: website IP address, 3: website hostname */ |
1532 | | $notify_message .= sprintf( __( 'Website: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; |
1533 | | /* translators: %s: trackback/pingback/comment author URL */ |
1534 | | $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
1535 | | /* translators: %s: comment text */ |
1536 | | $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; |
1537 | | $notify_message .= __( 'You can see all trackbacks on this post here:' ) . "\r\n"; |
1538 | | /* translators: 1: blog name, 2: post title */ |
1539 | | $subject = sprintf( __( '[%1$s] Trackback: "%2$s"' ), $blogname, $post->post_title ); |
1540 | | break; |
1541 | | case 'pingback': |
1542 | | /* translators: %s: post title */ |
1543 | | $notify_message = sprintf( __( 'New pingback on your post "%s"' ), $post->post_title ) . "\r\n"; |
1544 | | /* translators: 1: trackback/pingback website name, 2: website IP address, 3: website hostname */ |
1545 | | $notify_message .= sprintf( __( 'Website: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; |
1546 | | /* translators: %s: trackback/pingback/comment author URL */ |
1547 | | $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
1548 | | /* translators: %s: comment text */ |
1549 | | $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; |
1550 | | $notify_message .= __( 'You can see all pingbacks on this post here:' ) . "\r\n"; |
1551 | | /* translators: 1: blog name, 2: post title */ |
1552 | | $subject = sprintf( __( '[%1$s] Pingback: "%2$s"' ), $blogname, $post->post_title ); |
1553 | | break; |
1554 | | default: // Comments |
1555 | | /* translators: %s: post title */ |
1556 | | $notify_message = sprintf( __( 'New comment on your post "%s"' ), $post->post_title ) . "\r\n"; |
1557 | | /* translators: 1: comment author, 2: comment author's IP address, 3: comment author's hostname */ |
1558 | | $notify_message .= sprintf( __( 'Author: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; |
1559 | | /* translators: %s: comment author email */ |
1560 | | $notify_message .= sprintf( __( 'Email: %s' ), $comment->comment_author_email ) . "\r\n"; |
1561 | | /* translators: %s: trackback/pingback/comment author URL */ |
1562 | | $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
1563 | | /* translators: %s: comment text */ |
1564 | | $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; |
1565 | | $notify_message .= __( 'You can see all comments on this post here:' ) . "\r\n"; |
1566 | | /* translators: 1: blog name, 2: post title */ |
1567 | | $subject = sprintf( __( '[%1$s] Comment: "%2$s"' ), $blogname, $post->post_title ); |
1568 | | break; |
1569 | | } |
| 1524 | $notify_message = sprintf( __( 'New response to your post "%s"' ), get_the_title( $post ) ) . "\r\n"; |
| 1525 | $notify_message .= get_comment_notify_text( $comment ); |
| 1526 | $notify_message .= __( 'You can see all responses to this post here:' ) . "\r\n"; |
| 1527 | |
| 1528 | /* translators: 1: blog name, 2: post title */ |
| 1529 | $subject = sprintf( __('[%1$s] Response: "%2$s"'), $blogname, get_the_title( $post ) ); |
| 1530 | |
1702 | | switch ( $comment->comment_type ) { |
1703 | | case 'trackback': |
1704 | | /* translators: %s: post title */ |
1705 | | $notify_message = sprintf( __( 'A new trackback on the post "%s" is waiting for your approval' ), $post->post_title ) . "\r\n"; |
1706 | | $notify_message .= get_permalink( $comment->comment_post_ID ) . "\r\n\r\n"; |
1707 | | /* translators: 1: trackback/pingback website name, 2: website IP address, 3: website hostname */ |
1708 | | $notify_message .= sprintf( __( 'Website: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; |
1709 | | /* translators: %s: trackback/pingback/comment author URL */ |
1710 | | $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
1711 | | $notify_message .= __( 'Trackback excerpt: ' ) . "\r\n" . $comment_content . "\r\n\r\n"; |
1712 | | break; |
1713 | | case 'pingback': |
1714 | | /* translators: %s: post title */ |
1715 | | $notify_message = sprintf( __( 'A new pingback on the post "%s" is waiting for your approval' ), $post->post_title ) . "\r\n"; |
1716 | | $notify_message .= get_permalink( $comment->comment_post_ID ) . "\r\n\r\n"; |
1717 | | /* translators: 1: trackback/pingback website name, 2: website IP address, 3: website hostname */ |
1718 | | $notify_message .= sprintf( __( 'Website: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; |
1719 | | /* translators: %s: trackback/pingback/comment author URL */ |
1720 | | $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
1721 | | $notify_message .= __( 'Pingback excerpt: ' ) . "\r\n" . $comment_content . "\r\n\r\n"; |
1722 | | break; |
1723 | | default: // Comments |
1724 | | /* translators: %s: post title */ |
1725 | | $notify_message = sprintf( __( 'A new comment on the post "%s" is waiting for your approval' ), $post->post_title ) . "\r\n"; |
1726 | | $notify_message .= get_permalink( $comment->comment_post_ID ) . "\r\n\r\n"; |
1727 | | /* translators: 1: comment author name, 2: comment author's IP address, 3: comment author's hostname */ |
1728 | | $notify_message .= sprintf( __( 'Author: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; |
1729 | | /* translators: %s: comment author email */ |
1730 | | $notify_message .= sprintf( __( 'Email: %s' ), $comment->comment_author_email ) . "\r\n"; |
1731 | | /* translators: %s: trackback/pingback/comment author URL */ |
1732 | | $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
1733 | | /* translators: %s: comment text */ |
1734 | | $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; |
1735 | | break; |
1736 | | } |
| 1661 | $notify_message = sprintf( __('A new response to the post "%s" is waiting for your approval'), get_the_title( $post ) ) . "\r\n"; |
| 1662 | $notify_message .= get_comment_notify_text( $comment ); |
| 1663 | $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; |
| 1664 | |