Changeset 11930 for trunk/wp-includes/comment.php
- Timestamp:
- 09/14/2009 02:03:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r11860 r11930 735 735 if (wp_get_comment_status($comment_id) != 'trash' && wp_get_comment_status($comment_id) != 'spam' && EMPTY_TRASH_DAYS > 0) 736 736 return wp_trash_comment($comment_id); 737 737 738 738 do_action('delete_comment', $comment_id); 739 739 740 740 $trash_meta = get_option('wp_trash_meta'); 741 741 if (is_array($trash_meta) && isset($trash_meta['comments'][$comment_id])) { … … 1094 1094 function wp_set_comment_status($comment_id, $comment_status, $wp_error = false) { 1095 1095 global $wpdb; 1096 1096 1097 1097 $status = '0'; 1098 1098 switch ( $comment_status ) {
Note: See TracChangeset
for help on using the changeset viewer.