diff --git a/wp-includes/comment.php b/wp-includes/comment.php index ef4b553767..8edfc2859f 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -1057,7 +1057,7 @@ function wp_blacklist_check($author, $email, $url, $comment, $user_ip, $user_age return false; // If moderation keys are empty // Ensure HTML tags are not being used to bypass the blacklist. - $comment_without_html = wp_kses( $comment, array() ); + $comment_without_html = wp_strip_all_tags( $comment ); $words = explode("\n", $mod_keys ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 2a91e6fdc9..21a0d48d15 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-beta3-38091'; +$wp_version = '4.6-beta3-38092'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.