Make WordPress Core


Ignore:
Timestamp:
03/23/2007 02:05:29 AM (19 years ago)
Author:
matt
Message:

Ryan slays the dragon. (Some of these return WP_Error objects.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-comments-post.php

    r5087 r5089  
    5555$commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type', 'user_ID');
    5656
    57 $comment_id = (int) wp_new_comment( $commentdata );
     57$comment_id = wp_new_comment( $commentdata );
    5858
    5959$comment = get_comment($comment_id);
Note: See TracChangeset for help on using the changeset viewer.