Posted by fbt on Thu 24 Jul 05:27
report spam | download | new post
- <?php
- /**
- * HTML/XHTML filter that only allows some elements and attributes
- *
- * Added wp_ prefix to avoid conflicts with existing kses users
- *
- * @version 0.2.2
- * @copyright (C) 2002, 2003, 2005
- * @author Ulf Harnhammar <metaur@users.sourceforge.net>
- *
- * @package External
- * @subpackage KSES
- *
- * @internal
- * *** CONTACT INFORMATION ***
- * E-mail: metaur at users dot sourceforge dot net
- * Web page: http://sourceforge.net/projects/kses
- * Paper mail: Ulf Harnhammar
- * Ymergatan 17 C
- * 753 25 Uppsala
- * SWEDEN
- *
- * [kses strips evil scripts!]
- */
- /**
- * You can override this in your my-hacks.php file
- * You can also override this in a plugin file. The
- * my-hacks.php is deprecated in its usage.
- *
- * @since 1.2.0
- */
- if (!CUSTOM_TAGS) {
- /**
- * Kses global for default allowable HTML tags
- *
- * Can be override by using CUSTOM_TAGS constant
- * @global array $allowedposttags
- * @since 2.0.0
- */
- /**
- * Kses allowed HTML elements
- *
- * @global array $allowedtags
- * @since 1.0.0
- */
- // 'br' => array(),
- // 'dd' => array(),
- // 'dl' => array(),
- // 'dt' => array(),
- // 'ins' => array('datetime' => array(), 'cite' => array()),
- // 'li' => array(),
- // 'ol' => array(),
- // 'p' => array(),
- // 'sub' => array(),
- // 'sup' => array(),
- // 'u' => array(),
- // 'ul' => array(),
- );
- }
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.