Logic error when checking for define.

git-svn-id: https://develop.svn.wordpress.org/trunk@834 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-02-05 15:25:00 +00:00
parent 9574e4b4b6
commit aec151b9ac

View File

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