Title: WP Network issues
Last modified: August 20, 2016

---

# WP Network issues

 *  [manuelmasia](https://wordpress.org/support/users/manuelmasia/)
 * (@manuelmasia)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/wp-network-issues/)
 * Hi, I’m struggling with a strange issue.
 * I added some DIVs to the html editor of some static pages and I used the “data-”
   attributes in these DIVs because I need them to run some js functions. I also
   added some IFRAMEs to these pages. Then I exported everything in XML.
 * Well… if I import the XML in a normal blog, everything works fine, but if I import
   it in a site of a WordPress network, it simply skips the data- attributes and
   the iframes.
 * The original code, for instance:
    `<div class="column_3" data-size="3">content
   ecc...`
 * in the Network is:
    `<div class="column_3">content ecc...`
 * The same with the IFRAMEs. They are simply missing.
 * Do I need to set something in the network settings or is it a bug?
 * TIA 🙂
 * [http://wordpress.org/extend/plugins/wordpress-importer/](http://wordpress.org/extend/plugins/wordpress-importer/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [manuelmasia](https://wordpress.org/support/users/manuelmasia/)
 * (@manuelmasia)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/wp-network-issues/#post-3374153)
 * Fixed by hacking the plugin… the problem is due to the filter on wp_insert_post.
 * I changed:
    ` $comment_post_ID = $post_id = wp_insert_post( $postdata, true );
 * into
    ` remove_filter('content_save_pre', 'wp_filter_post_kses'); remove_filter('
   content_filtered_save_pre', 'wp_filter_post_kses'); $comment_post_ID = $post_id
   = wp_insert_post( $postdata, true ); add_filter('content_save_pre', 'wp_filter_post_kses');
   add_filter('content_filtered_save_pre', 'wp_filter_post_kses');

Viewing 1 replies (of 1 total)

The topic ‘WP Network issues’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-importer/assets/icon.svg?rev=2791650)
 * [WordPress Importer](https://wordpress.org/plugins/wordpress-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-importer/reviews/)

## Tags

 * [data attributes](https://wordpress.org/support/topic-tag/data-attributes/)
 * [iframe](https://wordpress.org/support/topic-tag/iframe/)
 * [Wordpress Network](https://wordpress.org/support/topic-tag/wordpress-network/)

 * 1 reply
 * 1 participant
 * Last reply from: [manuelmasia](https://wordpress.org/support/users/manuelmasia/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/wp-network-issues/#post-3374153)
 * Status: not resolved