Ticket #31508: 31508.patch
File 31508.patch, 3.0 KB (added by , 10 years ago) |
---|
-
src/wp-includes/pluggable.php
1420 1420 /* translators: 1: website name, 2: author IP, 3: author domain */ 1421 1421 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s, %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1422 1422 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1423 $notify_message .= sprintf( __( 'Comment: %s' ), $comment->comment_content ) . "\r\n\r\n";1423 $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment->comment_content ) . "\r\n\r\n"; 1424 1424 $notify_message .= __( 'You can see all trackbacks on this post here:' ) . "\r\n"; 1425 1425 /* translators: 1: blog name, 2: post title */ 1426 1426 $subject = sprintf( __('[%1$s] Trackback: "%2$s"'), $blogname, $post->post_title ); … … 1430 1430 /* translators: 1: comment author, 2: author IP, 3: author domain */ 1431 1431 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s, %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1432 1432 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1433 $notify_message .= sprintf( __( 'Comment: %s' ), $comment->comment_content ) . "\r\n\r\n";1433 $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment->comment_content ) . "\r\n\r\n"; 1434 1434 $notify_message .= __( 'You can see all pingbacks on this post here:' ) . "\r\n"; 1435 1435 /* translators: 1: blog name, 2: post title */ 1436 1436 $subject = sprintf( __('[%1$s] Pingback: "%2$s"'), $blogname, $post->post_title ); … … 1442 1442 $notify_message .= sprintf( __( 'E-mail: %s' ), $comment->comment_author_email ) . "\r\n"; 1443 1443 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1444 1444 $notify_message .= sprintf( __( 'Whois: %s' ), "http://whois.arin.net/rest/ip/{$comment->comment_author_IP}" ) . "\r\n"; 1445 $notify_message .= sprintf( __('Comment: %s' ), $comment->comment_content ) . "\r\n\r\n";1445 $notify_message .= sprintf( __('Comment: %s' ), "\r\n" . $comment->comment_content ) . "\r\n\r\n"; 1446 1446 $notify_message .= __( 'You can see all comments on this post here:' ) . "\r\n"; 1447 1447 /* translators: 1: blog name, 2: post title */ 1448 1448 $subject = sprintf( __('[%1$s] Comment: "%2$s"'), $blogname, $post->post_title ); … … 1571 1571 $notify_message .= sprintf( __( 'E-mail: %s' ), $comment->comment_author_email ) . "\r\n"; 1572 1572 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1573 1573 $notify_message .= sprintf( __( 'Whois: %s' ), "http://whois.arin.net/rest/ip/{$comment->comment_author_IP}" ) . "\r\n"; 1574 $notify_message .= sprintf( __( 'Comment: %s' ), $comment->comment_content ) . "\r\n\r\n";1574 $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment->comment_content ) . "\r\n\r\n"; 1575 1575 break; 1576 1576 } 1577 1577