|
@@ 1623-1630 (lines=8) @@
|
| 1620 |
|
$comment_content = wp_specialchars_decode( $comment->comment_content ); |
| 1621 |
|
|
| 1622 |
|
switch ( $comment->comment_type ) { |
| 1623 |
|
case 'trackback': |
| 1624 |
|
/* translators: 1: Post title */ |
| 1625 |
|
$notify_message = sprintf( __('A new trackback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; |
| 1626 |
|
$notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; |
| 1627 |
|
/* translators: 1: Trackback/pingback website name, 2: website IP, 3: website hostname */ |
| 1628 |
|
$notify_message .= sprintf( __( 'Website: %1$s (IP: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; |
| 1629 |
|
/* translators: 1: Trackback/pingback/comment author URL */ |
| 1630 |
|
$notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
| 1631 |
|
$notify_message .= __('Trackback excerpt: ') . "\r\n" . $comment_content . "\r\n\r\n"; |
| 1632 |
|
break; |
| 1633 |
|
case 'pingback': |
|
@@ 1633-1640 (lines=8) @@
|
| 1630 |
|
$notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
| 1631 |
|
$notify_message .= __('Trackback excerpt: ') . "\r\n" . $comment_content . "\r\n\r\n"; |
| 1632 |
|
break; |
| 1633 |
|
case 'pingback': |
| 1634 |
|
/* translators: 1: Post title */ |
| 1635 |
|
$notify_message = sprintf( __('A new pingback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; |
| 1636 |
|
$notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; |
| 1637 |
|
/* translators: 1: Trackback/pingback website name, 2: website IP, 3: website hostname */ |
| 1638 |
|
$notify_message .= sprintf( __( 'Website: %1$s (IP: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; |
| 1639 |
|
/* translators: 1: Trackback/pingback/comment author URL */ |
| 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 |