Changeset 2905

Show
Ignore:
Timestamp:
09/22/05 21:14:52 (3 years ago)
Author:
ryan
Message:

Typos

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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