diff --git a/wp-includes/comment.php b/wp-includes/comment.php index d6a6a00255..a84f0a70b9 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -2747,7 +2747,7 @@ function wp_handle_comment_submission( $comment_data ) { $comment_author = $user->display_name; $comment_author_email = $user->user_email; $comment_author_url = $user->user_url; - $user_id = $user->ID; + $user_ID = $user->ID; if ( current_user_can( 'unfiltered_html' ) ) { if ( ! isset( $comment_data['_wp_unfiltered_html_comment'] ) || ! wp_verify_nonce( $comment_data['_wp_unfiltered_html_comment'], 'unfiltered-html-comment_' . $comment_post_ID ) @@ -2784,7 +2784,7 @@ function wp_handle_comment_submission( $comment_data ) { 'comment_content', 'comment_type', 'comment_parent', - 'user_id' + 'user_ID' ); $comment_id = wp_new_comment( wp_slash( $commentdata ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 0b200da170..fbf4375867 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36036'; +$wp_version = '4.5-alpha-36038'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.