Changeset 2905
- Timestamp:
- 09/22/05 21:14:52 (3 years ago)
- Files:
-
- trunk/wp-includes/comment-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/comment-functions.php
r2903 r2905 46 46 $comment_ID = wp_insert_comment($commentdata); 47 47 48 do_action('comment_post', $comment_ID, $commentdata[' approved']);48 do_action('comment_post', $comment_ID, $commentdata['comment_approved']); 49 49 50 50 if ( 'spam' !== $commentdata['comment_approved'] ) { // If it's spam save it silently for later crunching … … 56 56 } 57 57 58 return $comment_ id;58 return $comment_ID; 59 59 } 60 60
