From 5db85f10c6ea249d82702c0f3883447e9b280226 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Tue, 11 Jan 2005 22:42:09 +0000 Subject: [PATCH] Check everything for entities. git-svn-id: http://svn.automattic.com/wordpress/trunk@2085 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions-post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions-post.php b/wp-includes/functions-post.php index 65d0f2a0e..36599e1ea 100644 --- a/wp-includes/functions-post.php +++ b/wp-includes/functions-post.php @@ -386,7 +386,7 @@ function wp_blacklist_check($author, $email, $url, $comment, $user_ip, $user_age do_action('wp_blacklist_check', ''); - if ( preg_match_all('/&#(\d+);/', $comment, $chars) ) { + if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) { foreach ($chars[1] as $char) { // If it's an encoded char in the normal ASCII set, reject if ($char < 128)