|
@@ 1577-1584 (lines=8) @@
|
| 1574 |
|
$comment_content = wp_specialchars_decode( $comment->comment_content ); |
| 1575 |
|
|
| 1576 |
|
switch ( $comment->comment_type ) { |
| 1577 |
|
case 'trackback': |
| 1578 |
|
$notify_message = sprintf( __('A new trackback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; |
| 1579 |
|
$notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; |
| 1580 |
|
/* translators: 1: website name, 2: website IP, 3: website hostname */ |
| 1581 |
|
$notify_message .= sprintf( __( 'Website: %1$s (IP: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; |
| 1582 |
|
$notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
| 1583 |
|
$notify_message .= __('Trackback excerpt: ') . "\r\n" . $comment_content . "\r\n\r\n"; |
| 1584 |
|
break; |
| 1585 |
|
case 'pingback': |
| 1586 |
|
$notify_message = sprintf( __('A new pingback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; |
| 1587 |
|
$notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; |
|
@@ 1585-1592 (lines=8) @@
|
| 1582 |
|
$notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
| 1583 |
|
$notify_message .= __('Trackback excerpt: ') . "\r\n" . $comment_content . "\r\n\r\n"; |
| 1584 |
|
break; |
| 1585 |
|
case 'pingback': |
| 1586 |
|
$notify_message = sprintf( __('A new pingback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; |
| 1587 |
|
$notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; |
| 1588 |
|
/* translators: 1: website name, 2: website IP, 3: website hostname */ |
| 1589 |
|
$notify_message .= sprintf( __( 'Website: %1$s (IP: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; |
| 1590 |
|
$notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
| 1591 |
|
$notify_message .= __('Pingback excerpt: ') . "\r\n" . $comment_content . "\r\n\r\n"; |
| 1592 |
|
break; |
| 1593 |
|
default: // Comments |
| 1594 |
|
$notify_message = sprintf( __('A new comment on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; |
| 1595 |
|
$notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; |