Make WordPress Core

Changeset 832


Ignore:
Timestamp:
02/05/2004 02:40:32 PM (21 years ago)
Author:
saxmatt
Message:

Let people override the allowedtags variable.

File:
1 edited

Legend:

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

    r767 r832  
    1212
    1313// You could override this in your my-hacks.php file
     14if (defined('CUSTOM_TAGS') && !CUSTOM_TAGS) { // Let's people override the allowed tags in their my-hacks.php
    1415$allowedtags = array(
    1516                'a' => array(
     
    4142//              'ul' => array(),
    4243                );
    43 
     44}
    4445function wp_kses($string, $allowed_html, $allowed_protocols =
    4546               array('http', 'https', 'ftp', 'news', 'nntp', 'telnet',
Note: See TracChangeset for help on using the changeset viewer.