Ticket #26156: pluggable-email.diff
File pluggable-email.diff, 2.3 KB (added by , 11 years ago) |
---|
-
wp-includes/pluggable.php
1065 1065 $notify_message = sprintf( __( 'New comment on your post "%s"' ), $post->post_title ) . "\r\n"; 1066 1066 /* translators: 1: comment author, 2: author IP, 3: author domain */ 1067 1067 $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1068 $notify_message .= sprintf( __('E -mail : %s'), $comment->comment_author_email ) . "\r\n";1068 $notify_message .= sprintf( __('Email : %s'), $comment->comment_author_email ) . "\r\n"; 1069 1069 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 1070 1070 $notify_message .= sprintf( __('Whois : http://whois.arin.net/rest/ip/%s'), $comment->comment_author_IP ) . "\r\n"; 1071 1071 $notify_message .= __('Comment: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; … … 1170 1170 $notify_message = sprintf( __('A new comment on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 1171 1171 $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 1172 1172 $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1173 $notify_message .= sprintf( __('E -mail : %s'), $comment->comment_author_email ) . "\r\n";1173 $notify_message .= sprintf( __('Email : %s'), $comment->comment_author_email ) . "\r\n"; 1174 1174 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 1175 1175 $notify_message .= sprintf( __('Whois : http://whois.arin.net/rest/ip/%s'), $comment->comment_author_IP ) . "\r\n"; 1176 1176 $notify_message .= __('Comment: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; … … 1243 1243 1244 1244 $message = sprintf(__('New user registration on your site %s:'), $blogname) . "\r\n\r\n"; 1245 1245 $message .= sprintf(__('Username: %s'), $user->user_login) . "\r\n\r\n"; 1246 $message .= sprintf(__('E -mail: %s'), $user->user_email) . "\r\n";1246 $message .= sprintf(__('Email: %s'), $user->user_email) . "\r\n"; 1247 1247 1248 1248 @wp_mail(get_option('admin_email'), sprintf(__('[%s] New User Registration'), $blogname), $message); 1249 1249