Ticket #31999: 31999.patch
| File 31999.patch, 2.8 KB (added by , 11 years ago) |
|---|
-
src/wp-includes/pluggable.php
1424 1424 switch ( $comment->comment_type ) { 1425 1425 case 'trackback': 1426 1426 $notify_message = sprintf( __( 'New trackback on your post "%s"' ), $post->post_title ) . "\r\n"; 1427 /* translators: 1: website name, 2: author IP, 3: author domain*/1427 /* translators: 1: website name, 2: website IP, 3: website hostname */ 1428 1428 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s, %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1429 1429 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1430 1430 $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment->comment_content ) . "\r\n\r\n"; … … 1434 1434 break; 1435 1435 case 'pingback': 1436 1436 $notify_message = sprintf( __( 'New pingback on your post "%s"' ), $post->post_title ) . "\r\n"; 1437 /* translators: 1: comment author, 2: author IP, 3: author domain*/1437 /* translators: 1: website name, 2: website IP, 3: website hostname */ 1438 1438 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s, %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1439 1439 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1440 1440 $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment->comment_content ) . "\r\n\r\n"; … … 1560 1560 case 'trackback': 1561 1561 $notify_message = sprintf( __('A new trackback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 1562 1562 $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 1563 /* translators: 1: website name, 2: website IP, 3: website hostname */ 1563 1564 $notify_message .= sprintf( __( 'Website: %1$s (IP: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1564 1565 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1565 1566 $notify_message .= __('Trackback excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; … … 1567 1568 case 'pingback': 1568 1569 $notify_message = sprintf( __('A new pingback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 1569 1570 $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 1571 /* translators: 1: website name, 2: website IP, 3: website hostname */ 1570 1572 $notify_message .= sprintf( __( 'Website: %1$s (IP: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1571 1573 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1572 1574 $notify_message .= __('Pingback excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n";