Make WordPress Core

Ticket #31508: 31508.patch

File 31508.patch, 3.0 KB (added by SergeyBiryukov, 10 years ago)
  • src/wp-includes/pluggable.php

     
    14201420                        /* translators: 1: website name, 2: author IP, 3: author domain */
    14211421                        $notify_message .= sprintf( __('Website: %1$s (IP: %2$s, %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
    14221422                        $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";
    14241424                        $notify_message .= __( 'You can see all trackbacks on this post here:' ) . "\r\n";
    14251425                        /* translators: 1: blog name, 2: post title */
    14261426                        $subject = sprintf( __('[%1$s] Trackback: "%2$s"'), $blogname, $post->post_title );
     
    14301430                        /* translators: 1: comment author, 2: author IP, 3: author domain */
    14311431                        $notify_message .= sprintf( __('Website: %1$s (IP: %2$s, %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
    14321432                        $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";
    14341434                        $notify_message .= __( 'You can see all pingbacks on this post here:' ) . "\r\n";
    14351435                        /* translators: 1: blog name, 2: post title */
    14361436                        $subject = sprintf( __('[%1$s] Pingback: "%2$s"'), $blogname, $post->post_title );
     
    14421442                        $notify_message .= sprintf( __( 'E-mail: %s' ), $comment->comment_author_email ) . "\r\n";
    14431443                        $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n";
    14441444                        $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";
    14461446                        $notify_message .= __( 'You can see all comments on this post here:' ) . "\r\n";
    14471447                        /* translators: 1: blog name, 2: post title */
    14481448                        $subject = sprintf( __('[%1$s] Comment: "%2$s"'), $blogname, $post->post_title );
     
    15711571                        $notify_message .= sprintf( __( 'E-mail: %s' ), $comment->comment_author_email ) . "\r\n";
    15721572                        $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n";
    15731573                        $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";
    15751575                        break;
    15761576        }
    15771577