From 156a785dc2a2e85898d36e48ddb02f354fb0bfa9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 17 May 2007 08:53:39 +0100 Subject: [PATCH] fix BLACKLISTED_TAGS checking --- functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index f6e3cdacd..17712ebce 100644 --- a/functions.php +++ b/functions.php @@ -880,7 +880,8 @@ if ($additional_tags && is_array($additional_tags)) { foreach ($additional_tags as $tag) { - if (tag_is_valid($tag) && !array_key_exists($tag, $boring_tags)) { + if (tag_is_valid($tag) && + array_search($tag, $boring_tags) === FALSE) { array_push($entry_tags, $tag); } }