Changeset 31059
- Timestamp:
- 01/06/2015 05:09:13 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r30684 r31059 1517 1517 $notify_message = sprintf( __('A new trackback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 1518 1518 $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 1519 $notify_message .= sprintf( __( 'Website : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";1520 $notify_message .= sprintf( __( 'URL : %s'), $comment->comment_author_url ) . "\r\n";1519 $notify_message .= sprintf( __( 'Website: %1$s (IP: %2$s , %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1520 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1521 1521 $notify_message .= __('Trackback excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 1522 1522 break; … … 1524 1524 $notify_message = sprintf( __('A new pingback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 1525 1525 $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 1526 $notify_message .= sprintf( __( 'Website : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";1527 $notify_message .= sprintf( __( 'URL : %s'), $comment->comment_author_url ) . "\r\n";1526 $notify_message .= sprintf( __( 'Website: %1$s (IP: %2$s , %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1527 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1528 1528 $notify_message .= __('Pingback excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 1529 1529 break; … … 1531 1531 $notify_message = sprintf( __('A new comment on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 1532 1532 $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 1533 $notify_message .= sprintf( __( 'Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";1534 $notify_message .= sprintf( __( 'E-mail : %s'), $comment->comment_author_email ) . "\r\n";1535 $notify_message .= sprintf( __( 'URL : %s'), $comment->comment_author_url ) . "\r\n";1536 $notify_message .= sprintf( __( 'Whois : http://whois.arin.net/rest/ip/%s'), $comment->comment_author_IP) . "\r\n";1537 $notify_message .= __('Comment: ') . "\r\n" . $comment->comment_content. "\r\n\r\n";1533 $notify_message .= sprintf( __( 'Author: %1$s (IP: %2$s , %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1534 $notify_message .= sprintf( __( 'E-mail: %s' ), $comment->comment_author_email ) . "\r\n"; 1535 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1536 $notify_message .= sprintf( __( 'Whois: %s' ), "http://whois.arin.net/rest/ip/{$comment->comment_author_IP}" ) . "\r\n"; 1537 $notify_message .= sprintf( __( 'Comment: %s' ), $comment->comment_content ) . "\r\n\r\n"; 1538 1538 break; 1539 1539 }
Note: See TracChangeset
for help on using the changeset viewer.