Logic error when checking for define.

git-svn-id: http://svn.automattic.com/wordpress/trunk@834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-02-05 15:25:00 +00:00
parent e194c1736c
commit 91b753594d

View File

@ -9,9 +9,11 @@
# Paper mail: (not at the moment) # Paper mail: (not at the moment)
# #
# [kses strips evil scripts!] # [kses strips evil scripts!]
if (!defined('CUSTOM_TAGS'))
define('CUSTOM_TAGS', false);
// You could override this in your my-hacks.php file // You can 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 (!CUSTOM_TAGS) {
$allowedtags = array( $allowedtags = array(
'a' => array( 'a' => array(
'href' => array(), 'href' => array(),