Changeset 1970 for trunk/wp-includes/comment-functions.php
- Timestamp:
- 12/17/2004 10:25:00 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/comment-functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-functions.php
r1969 r1970 726 726 function wp_notify_moderator($comment_id) { 727 727 global $wpdb; 728 global $querystring_start, $querystring_equal, $querystring_separator;729 728 730 729 if( get_settings( "moderation_notify" ) == 0 ) … … 738 737 $comments_waiting = $wpdb->get_var("SELECT count(comment_ID) FROM $wpdb->comments WHERE comment_approved = '0'"); 739 738 740 $notify_message = "A new comment on the post #$comment->comment_post_ID \"".$post->post_title."\" is waiting for your approval\r\n\r\n"; 741 $notify_message .= "Author : $comment->comment_author (IP: $comment->comment_author_IP , $comment_author_domain)\r\n"; 739 $notify_message = "A new comment on the post #$comment->comment_post_ID \"".$post->post_title."\" is waiting for your approval\n"; 740 $notify_message .= get_permalink($comment->comment_post_ID); 741 $notify_message .= "\n\nAuthor : $comment->comment_author (IP: $comment->comment_author_IP , $comment_author_domain)\r\n"; 742 742 $notify_message .= "E-mail : $comment->comment_author_email\r\n"; 743 743 $notify_message .= "URL : $comment->comment_author_url\r\n"; … … 749 749 $notify_message .= get_settings('siteurl') . "/wp-admin/moderation.php\r\n"; 750 750 751 $subject = '[' . get_settings('blogname') . '] Please approve: "' .$post->post_title.'"';751 $subject = '[' . get_settings('blogname') . '] Please moderate: "' .$post->post_title.'"'; 752 752 $admin_email = get_settings("admin_email"); 753 753 $from = "From: $admin_email";
Note: See TracChangeset
for help on using the changeset viewer.