Ticket #31999: duplicate_comments.patch
File duplicate_comments.patch, 1.4 KB (added by , 9 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 */1438 1437 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s, %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1439 1438 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1440 1439 $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment->comment_content ) . "\r\n\r\n";