
ปัญหานี้เจอใน WordPress User ที่เป็นผู้ดูแลเว็บต่างๆ (Mutilsite) ไม่สามารถใช้คำสั่งประเภท embed / iframe ใน editor Post หรือ Page ได้ แต่ User Webadmin สามารถใส่ได้ งงกันอยู่นานไปเจอการแก้ไขปัญหานี้ สามารถแก้ได้ครับ
——————————————-
Here is a solution to this problem:
You can find in /wp-includes called kses.php. In kses.php, you’ll want to scroll down to line 1309 and comment out the three lines under //Post filtering so that they look like this:
// Post filtering
#add_filter(‘content_save_pre’, ‘wp_filter_post_kses’);
#add_filter(‘excerpt_save_pre’, ‘wp_filter_post_kses’);
#add_filter(‘content_filtered_save_pre’, ‘wp_filter_post_kses’);
This will prevent the filter from removing all your youtube videos, slideshare embed, scribd documents, etc. Once you’ve altered the filter and saved it, you’re ready to create your new blogs, hit the Tools menu, and import your XML from your exports above. After the process completes, you should have a working blog with all of your previous content in place exactly as before.
Source: http://jasongriffey.net/wp/2010/06/21/moving-to-wordpress-3-0/