Make WordPress Core

Changeset 834


Ignore:
Timestamp:
02/05/2004 03:25:00 PM (21 years ago)
Author:
saxmatt
Message:

Logic error when checking for define.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/kses.php

    r832 r834  
    1010#
    1111# [kses strips evil scripts!]
    12 
    13 // You could override this in your my-hacks.php file
    14 if (defined('CUSTOM_TAGS') && !CUSTOM_TAGS) { // Let's people override the allowed tags in their my-hacks.php
     12if (!defined('CUSTOM_TAGS'))
     13    define('CUSTOM_TAGS', false);
     14   
     15// You can override this in your my-hacks.php file
     16if (!CUSTOM_TAGS) {
    1517$allowedtags = array(
    1618                'a' => array(
Note: See TracChangeset for help on using the changeset viewer.