From 0628227ea09768971f257f98d3b403e66da9badc Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Thu, 9 Feb 2006 07:25:25 +0000 Subject: [PATCH] Don't falsely marketh as spam. Fixes #1560 git-svn-id: https://develop.svn.wordpress.org/trunk@3506 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions-post.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/functions-post.php b/wp-includes/functions-post.php index 842980f6c2..e9319ba966 100644 --- a/wp-includes/functions-post.php +++ b/wp-includes/functions-post.php @@ -643,6 +643,8 @@ function wp_blacklist_check($author, $email, $url, $comment, $user_ip, $user_age 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 ( 38 == $char ) + continue; // Unless it's & if ($char < 128) return true; }