Changeset 11124 for trunk/wp-includes/comment.php
- Timestamp:
- 04/29/2009 05:22:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r11109 r11124 1090 1090 $comment = $wpdb->escape($comment); 1091 1091 1092 $old_status = $comment['comment_approved']; 1093 1092 1094 // Merge old and new fields with new fields overwriting old ones. 1093 1095 $commentarr = array_merge($comment, $commentarr); … … 1118 1120 do_action('edit_comment', $comment_ID); 1119 1121 $comment = get_comment($comment_ID); 1120 wp_transition_comment_status($comment _approved, $comment->comment_approved, $comment);1122 wp_transition_comment_status($comment->comment_approved, $old_status, $comment); 1121 1123 return $rval; 1122 1124 }
Note: See TracChangeset
for help on using the changeset viewer.