Wordpress users have thousands of themes to choose from. We hunt out the best of the best free and premium wordpress themes. You will find top 2 columns, 3 columns, adsense ready, widget ready,
XHTML validated wordpress themes. Best Wordpress Themes for Wordpress powered blogs. Download quality and professionally designed Wordpress templates for free at BestWpThemez.com.
To prevent web user from using HTML Tags in comments or block particular HTML elements, follow these steps:
1. In the folder wp-includes find the file kses.php and open it.
2. Find the text $allowedtags. It is followed by a list of the HTML elements allowed in comments.
3. To prevent a particular HTML element from being used, comment out the line for that element. To comment out a line, type // at the start of the line (some elements will probably be commented out already).
4. If you never want any HTML in comments at all, you can delete the whole function — from if (!CUSTOM_TAGS) to the next }.
Thanks,
Shane G.
Popularity: 1%
This entry was posted
on Thursday, September 3rd, 2009 at 6:09 pm and is filed under WordPress KB .
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.