From 91b753594d818635635253e626791d1d06d57321 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Thu, 5 Feb 2004 15:25:00 +0000 Subject: [PATCH] Logic error when checking for define. git-svn-id: http://svn.automattic.com/wordpress/trunk@834 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/kses.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/wp-includes/kses.php b/wp-includes/kses.php index 168e5b0892..aaa80926d5 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -9,9 +9,11 @@ # Paper mail: (not at the moment) # # [kses strips evil scripts!] - -// You could override this in your my-hacks.php file -if (defined('CUSTOM_TAGS') && !CUSTOM_TAGS) { // Let's people override the allowed tags in their my-hacks.php +if (!defined('CUSTOM_TAGS')) + define('CUSTOM_TAGS', false); + +// You can override this in your my-hacks.php file +if (!CUSTOM_TAGS) { $allowedtags = array( 'a' => array( 'href' => array(),