diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 693af2e9e6..2e0fdb7f24 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -1925,7 +1925,7 @@ function wp_insert_comment( $commentdata ) { $compacted = compact( 'comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_author_IP', 'comment_date', 'comment_date_gmt', 'comment_content', 'comment_karma', 'comment_approved', 'comment_agent', 'comment_type', 'comment_parent', 'user_id' ); if ( ! $wpdb->insert( $wpdb->comments, $compacted ) ) { - $fields = array( 'comment_author', 'comment_content' ); + $fields = array( 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content' ); foreach( $fields as $field ) { if ( isset( $compacted[ $field ] ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 81aa9d66ed..f82ee8f925 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31263'; +$wp_version = '4.2-alpha-31264'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.