Changeset 2905 for trunk/wp-includes/comment-functions.php
- Timestamp:
- 09/22/2005 09:14:52 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/comment-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.