Check everything for entities.

git-svn-id: https://develop.svn.wordpress.org/trunk@2085 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-01-11 22:42:09 +00:00
parent ca6be129a3
commit 5f52d2717d

View File

@ -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)