Make WordPress Core

Changeset 2054


Ignore:
Timestamp:
01/06/2005 09:58:23 AM (21 years ago)
Author:
saxmatt
Message:

Proper linebreak in moderation email.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-functions.php

    r2033 r2054  
    731731    $comments_waiting = $wpdb->get_var("SELECT count(comment_ID) FROM $wpdb->comments WHERE comment_approved = '0'");
    732732
    733     $notify_message  = "A new comment on the post #$comment->comment_post_ID \"".$post->post_title."\" is waiting for your approval\n";
     733    $notify_message  = "A new comment on the post #$post->ID \"$post->post_title\" is waiting for your approval\r\n";
    734734    $notify_message .= get_permalink($comment->comment_post_ID);
    735735    $notify_message .= "\n\nAuthor : $comment->comment_author (IP: $comment->comment_author_IP , $comment_author_domain)\r\n";
Note: See TracChangeset for help on using the changeset viewer.