mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 07:07:38 +02:00
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:
parent
e194c1736c
commit
91b753594d
@ -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'))
|
||||||
// You could override this in your my-hacks.php file
|
define('CUSTOM_TAGS', false);
|
||||||
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(
|
$allowedtags = array(
|
||||||
'a' => array(
|
'a' => array(
|
||||||
'href' => array(),
|
'href' => array(),
|
||||||
|
Loading…
Reference in New Issue
Block a user