|
@@ 1463-1472 (lines=10) @@
|
| 1460 |
|
$comment_content = wp_specialchars_decode( $comment->comment_content ); |
| 1461 |
|
|
| 1462 |
|
switch ( $comment->comment_type ) { |
| 1463 |
|
case 'trackback': |
| 1464 |
|
/* translators: 1: Post title */ |
| 1465 |
|
$notify_message = sprintf( __( 'New trackback on your post "%s"' ), $post->post_title ) . "\r\n"; |
| 1466 |
|
/* translators: 1: Trackback/pingback website name, 2: website IP, 3: website hostname */ |
| 1467 |
|
$notify_message .= sprintf( __('Website: %1$s (IP: %2$s, %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; |
| 1468 |
|
$notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
| 1469 |
|
$notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; |
| 1470 |
|
$notify_message .= __( 'You can see all trackbacks on this post here:' ) . "\r\n"; |
| 1471 |
|
/* translators: 1: blog name, 2: post title */ |
| 1472 |
|
$subject = sprintf( __('[%1$s] Trackback: "%2$s"'), $blogname, $post->post_title ); |
| 1473 |
|
break; |
| 1474 |
|
case 'pingback': |
| 1475 |
|
/* translators: 1: Post title */ |
|
@@ 1474-1483 (lines=10) @@
|
| 1471 |
|
/* translators: 1: blog name, 2: post title */ |
| 1472 |
|
$subject = sprintf( __('[%1$s] Trackback: "%2$s"'), $blogname, $post->post_title ); |
| 1473 |
|
break; |
| 1474 |
|
case 'pingback': |
| 1475 |
|
/* translators: 1: Post title */ |
| 1476 |
|
$notify_message = sprintf( __( 'New pingback on your post "%s"' ), $post->post_title ) . "\r\n"; |
| 1477 |
|
/* translators: 1: Trackback/pingback website name, 2: website IP, 3: website hostname */ |
| 1478 |
|
$notify_message .= sprintf( __('Website: %1$s (IP: %2$s, %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; |
| 1479 |
|
$notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
| 1480 |
|
$notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; |
| 1481 |
|
$notify_message .= __( 'You can see all pingbacks on this post here:' ) . "\r\n"; |
| 1482 |
|
/* translators: 1: blog name, 2: post title */ |
| 1483 |
|
$subject = sprintf( __('[%1$s] Pingback: "%2$s"'), $blogname, $post->post_title ); |
| 1484 |
|
break; |
| 1485 |
|
default: // Comments |
| 1486 |
|
$notify_message = sprintf( __( 'New comment on your post "%s"' ), $post->post_title ) . "\r\n"; |
|
@@ 1643-1650 (lines=8) @@
|
| 1640 |
|
$notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
| 1641 |
|
$notify_message .= __('Pingback excerpt: ') . "\r\n" . $comment_content . "\r\n\r\n"; |
| 1642 |
|
break; |
| 1643 |
|
default: // Comments |
| 1644 |
|
/* translators: 1: Post title */ |
| 1645 |
|
$notify_message = sprintf( __('A new comment on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; |
| 1646 |
|
$notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; |
| 1647 |
|
/* translators: 1: Comment author name, 2: comment author's IP, 3: comment author IP's hostname */ |
| 1648 |
|
$notify_message .= sprintf( __( 'Author: %1$s (IP: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; |
| 1649 |
|
/* translators: 1: Comment author URL */ |
| 1650 |
|
$notify_message .= sprintf( __( 'Email: %s' ), $comment->comment_author_email ) . "\r\n"; |
| 1651 |
|
/* translators: 1: Trackback/pingback/comment author URL */ |
| 1652 |
|
$notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
| 1653 |
|
/* translators: 1: Comment text */ |