Make WordPress Core


Ignore:
Timestamp:
09/24/2009 05:19:13 PM (15 years ago)
Author:
ryan
Message:

Remove trailing whitespace

File:
1 edited

Legend:

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

    r11968 r11971  
    864864
    865865    add_comment_meta($comment_id,'_wp_trash_meta_status', $comment->comment_approved);
    866     add_comment_meta($comment_id,'_wp_trash_meta_time', time() );   
    867    
     866    add_comment_meta($comment_id,'_wp_trash_meta_time', time() );
     867
    868868    wp_set_comment_status($comment_id, 'trash');
    869869
     
    887887
    888888    $comment = array('comment_ID'=>$comment_id, 'comment_approved'=>'0');
    889    
     889
    890890    //Either set comment_approved to the value in comment_meta or worse case to false which will mean moderation
    891891    $comment['comment_approved'] = get_comment_meta($comment_id, '_wp_trash_meta_status', true);
Note: See TracChangeset for help on using the changeset viewer.