Stop Wordpress MU From Blocking Your Code
A few days ago John Burton contacted me asking if I knew why he couldn’t get Wordpress MU to show embedded YouTube videos and podcasts that he was working with. To tell the truth, I had no idea, but I agreed to check it out with him. He was quicker then I and found an easy way to fix it .
Turns out Wordpress MU filters the code and disables the embed features. How do you fix it?
Edit wp-include/kses.php. In that file search for “Post filtering” and then comment out the following lines:
// Post filtering
//add_filter(’content_save_pre’, ‘wp_filter_post_kses’);
And that’s all there is too it.
Useful Articles
This article was written by John Kolbert on December 18, 2007 and filed as Tutorial/How-To. Get the latest articles by subscribing to the RSS feed. This article, including images and attachments, is property of John Kolbert and is not to be republished or translated without prior written permission.











I hope WordPress developers replace kses with htmLawed (which is actually developed off kses) and put in place a control panel for setting htmLawed options (tags to filter, etc.). htmLawed seems to be much. much better than kses.
Thanks for your good idea, try it.
my wpmu couldn’t toooo.