Make WordPress Core


Ignore:
Timestamp:
03/23/2007 12:59:21 AM (17 years ago)
Author:
matt
Message:

(int)er the dragon.

File:
1 edited

Legend:

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

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