Standardize on user_id instead of user_ID when passing comment data. fixes #11222

git-svn-id: https://develop.svn.wordpress.org/trunk@12267 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-11-23 21:04:11 +00:00
parent 3e94024432
commit 27db8a8161
3 changed files with 14 additions and 6 deletions

View File

@@ -75,7 +75,7 @@ if ( '' == $comment_content )
$comment_parent = isset($_POST['comment_parent']) ? absint($_POST['comment_parent']) : 0;
$commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type', 'comment_parent', 'user_ID');
$commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type', 'comment_parent', 'user_id');
$comment_id = wp_new_comment( $commentdata );