WordPress.org

Ready to get started?Download WordPress

Forums

KSES or XMLRPC Strips HTML on Cross-Post (2 posts)

  1. Phill Fernandes
    Member
    Posted 3 years ago #

    I am using the distribution the distribution functions provided by BlipTV and when it cross-posts the video to my WordPress it strips the embed. I am not sure why it is doing this. I have going through and manually added the HTML with the filter disabled and the older posts were restored from a backup due to the fact of a glitched plugin.

    You can find the site at: http://tcc.powercastmedia.net

    This particular WordPress install is a WP 3.0.2 with Network mode enabled.

    Thanks for any help in advance.

    Phill Fernandes
    PowerCast Media Network
    The Carroll Clash, Technical Producer

  2. Phill Fernandes
    Member
    Posted 3 years ago #

    Well an hour and a cup of coffee later an I have figured it out:

    1. Open kses.php in your favorite text editor
    2. Find the following block of code

    // 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');

    3. Comment out the lines as show and save, then all is well.

    I am learning PHP so I think I may attempt to write a plugin to disable this.

Topic Closed

This topic has been closed to new replies.

About this Topic