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:
parent
9574e4b4b6
commit
aec151b9ac
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user