Stop Wordpress MU From Blocking Your Code
18 Dec
Posted by John Kolbert | Category: Tutorial/How-To
Tagged as wordpress
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.
Archive list
5 Recent posts
SPAM
© Simply-Basic.com 2007-2008
Shades of Grey theme, by John Kolbert, is loosely based on the Blogging Pro and Forte themes.
Proudly powered by WordPress.
Shades of Grey theme, by John Kolbert, is loosely based on the Blogging Pro and Forte themes.
Proudly powered by WordPress.


Home
Contact
Submit News
Tech Support
3 Responses
JiaoLi
January 18th, 2008 at 8:50 pm
1I 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.
Venturi
April 10th, 2008 at 12:24 pm
2Thanks for your good idea, try it.
my wpmu couldn’t toooo.
Skolebloggen » Blog Archive » Embed tag?
May 3rd, 2008 at 5:25 am
3[…] det med embed-tagger i koden? Ikke i utgangspunktet. Men etter å ha lest artikkelen på http://simply-basic.com/posts/194160 ser det ut til at vi har full kontroll over hva som tillates og hva som skal sensureres av […]
RSS feed for comments on this post · TrackBack URI
Leave a reply
Contest!!
Windows Mobile Software Giveaway to select readers! Read the blog article about it here.
Like what you've read?
Then subscribe to the RSS feed!
or
Subscribe By Email
Powered by FeedBurner
Most Recent Comments
Hottest Posts by # of comments:
What's Simply-Basic.com?
Simply-Basic.com is a technology blog run by myself, John Kolbert. I focus primarily on internet topics such as blogging, Wordpress, and personal computing. I also write tutorials and FAQs for computer related topics.
Why am I doing this? For fun! I do this to have a hobby that I enjoy. That's right, blogging is a hobby, not a job. I update as often as I can, which is usually two to three times per week. Thanks for visiting!
Short News
WordPRess 2.5.1 Released
For those who haven’t seen, WordPress 2.5.1 has been release. The latest release fixes a major security bug related to user registrations, and over 70 other bugs. I’ll be upgrading later this evening. (0)
Sorry Feed Readers
Just a quick note to my RSS subscribers: you may notice a large number of new posts in your feed. They are actually old posts. I just increased the number of posts that WordPress sends to the RSS feed so that new subscribers can get as many as 50 old posts. So sorry if I’ve flooded your reader today! (0)
WordPress Wednesday
WordPress fans should check out WordPress Wednesday, which sums up a week of WordPress news. It’s full if great info. Even my Private Blog article got a mention. (0)
All Ye Subscribers
Thanks to Randy for pointing out that some web-based feed readers are getting the lovely “I heart Simply-Basic” image instead of the actual images for posts. If anyone else has any problems with this leave a comment and let me know with what reader you use. I can manually exclude domains from the hotlinking, but if it is too big of a problem I’ll have to rethink the whole idea. (0)
Read more
Suggested Links
Use a Mortgage Broker To find the best deal
Top Positionen bei Google? Suchmaschinenoptimierung von suma-group.com
modern lights
Looking for some easy traffic? Then let Simply-Basic.com link to your site!
Put your link here
Categories
My Favorites
Advertisements