Make WordPress Core


Ignore:
Timestamp:
09/22/2005 09:14:52 PM (20 years ago)
Author:
ryan
Message:

Typos

File:
1 edited

Legend:

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

    r2903 r2905  
    4646    $comment_ID = wp_insert_comment($commentdata);
    4747
    48     do_action('comment_post', $comment_ID, $commentdata['approved']);
     48    do_action('comment_post', $comment_ID, $commentdata['comment_approved']);
    4949
    5050    if ( 'spam' !== $commentdata['comment_approved'] ) { // If it's spam save it silently for later crunching
     
    5656    }
    5757
    58     return $comment_id;
     58    return $comment_ID;
    5959}
    6060
Note: See TracChangeset for help on using the changeset viewer.