WordPress.org

Make WordPress Core

Ticket #16271: 16271.diff

File 16271.diff, 3.8 KB (added by solarissmoke, 4 years ago)
  • wp-includes/pluggable.php

     
    10341034        if ('comment' == $comment_type) { 
    10351035                $notify_message  = sprintf( __( 'New comment on your post "%s"' ), $post->post_title ) . "\r\n"; 
    10361036                /* translators: 1: comment author, 2: author IP, 3: author domain */ 
    1037                 $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    1038                 $notify_message .= sprintf( __('E-mail : %s'), $comment->comment_author_email ) . "\r\n"; 
    1039                 $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
    1040                 $notify_message .= sprintf( __('Whois  : http://whois.arin.net/rest/ip/%s'), $comment->comment_author_IP ) . "\r\n"; 
    1041                 $notify_message .= __('Comment: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 
    1042                 $notify_message .= __('You can see all comments on this post here: ') . "\r\n"; 
     1037                $notify_message .= sprintf( __('Author: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
     1038                $notify_message .= sprintf( __('E-mail: %s'), $comment->comment_author_email ) . "\r\n"; 
     1039                $notify_message .= sprintf( __('URL: %s'), $comment->comment_author_url ) . "\r\n"; 
     1040                $notify_message .= sprintf( __('Whois: http://whois.arin.net/rest/ip/%s'), $comment->comment_author_IP ) . "\r\n"; 
     1041                $notify_message .= __('Comment:') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 
     1042                $notify_message .= __('You can see all comments on this post here:') . "\r\n"; 
    10431043                /* translators: 1: blog name, 2: post title */ 
    10441044                $subject = sprintf( __('[%1$s] Comment: "%2$s"'), $blogname, $post->post_title ); 
    10451045        } elseif ('trackback' == $comment_type) { 
    10461046                $notify_message  = sprintf( __( 'New trackback on your post "%s"' ), $post->post_title ) . "\r\n"; 
    10471047                /* translators: 1: website name, 2: author IP, 3: author domain */ 
    10481048                $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    1049                 $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
    1050                 $notify_message .= __('Excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 
    1051                 $notify_message .= __('You can see all trackbacks on this post here: ') . "\r\n"; 
     1049                $notify_message .= sprintf( __('URL: %s'), $comment->comment_author_url ) . "\r\n"; 
     1050                $notify_message .= __('Comment:') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 
     1051                $notify_message .= __('You can see all trackbacks on this post here:') . "\r\n"; 
    10521052                /* translators: 1: blog name, 2: post title */ 
    10531053                $subject = sprintf( __('[%1$s] Trackback: "%2$s"'), $blogname, $post->post_title ); 
    10541054        } elseif ('pingback' == $comment_type) { 
    10551055                $notify_message  = sprintf( __( 'New pingback on your post "%s"' ), $post->post_title ) . "\r\n"; 
    10561056                /* translators: 1: comment author, 2: author IP, 3: author domain */ 
    10571057                $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    1058                 $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
    1059                 $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[...] %s [...]', $comment->comment_content ) . "\r\n\r\n"; 
     1058                $notify_message .= sprintf( __('URL: %s'), $comment->comment_author_url ) . "\r\n"; 
     1059                $notify_message .= __('Comment:') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 
    10601060                $notify_message .= __('You can see all pingbacks on this post here: ') . "\r\n"; 
    10611061                /* translators: 1: blog name, 2: post title */ 
    10621062                $subject = sprintf( __('[%1$s] Pingback: "%2$s"'), $blogname, $post->post_title );