WordPress.org

Make WordPress Core

Ticket #20183: pluggable.diff

File pluggable.diff, 1.6 KB (added by Upsy Daisy, 6 years ago)
  • pluggable.php

     
    10041004                $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    10051005                $notify_message .= sprintf( __('E-mail : %s'), $comment->comment_author_email ) . "\r\n"; 
    10061006                $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
     1007                $notify_message .= sprintf( __('Country  : http://www.ip2country.cc/q=%s'), $comment->comment_author_IP ) . "\r\n"; 
    10071008                $notify_message .= sprintf( __('Whois  : http://whois.arin.net/rest/ip/%s'), $comment->comment_author_IP ) . "\r\n"; 
    10081009                $notify_message .= __('Comment: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 
    10091010                $notify_message .= __('You can see all comments on this post here: ') . "\r\n"; 
     
    11171118                        $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
    11181119                        $notify_message .= sprintf( __('E-mail : %s'), $comment->comment_author_email ) . "\r\n"; 
    11191120                        $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n"; 
     1121                        $notify_message .= sprintf( __('Country  : http://www.ip2country.cc?q=%s'), $comment->comment_author_IP ) . "\r\n"; 
    11201122                        $notify_message .= sprintf( __('Whois  : http://whois.arin.net/rest/ip/%s'), $comment->comment_author_IP ) . "\r\n"; 
    11211123                        $notify_message .= __('Comment: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 
    11221124                        break;