Title: Plugin is breaking RSS feeds
Last modified: April 21, 2020

---

# Plugin is breaking RSS feeds

 *  Resolved [magicoders](https://wordpress.org/support/users/patopaiar/)
 * (@patopaiar)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/plugin-is-breaking-rss-feeds/)
 * Hi,
 * We are helping a client that is using your plugin in their site figure out why
   their default WordPress RSS Posts feeds are broken. Namely, there are over 100
   blank spaces before the opening tag.
 * This is causing them issues now that they want to make use of the RSS feed and
   potentially have readers with problems when wanting to Subscribe.
 * With WordPress 5.4, no plugins activated except WP Content Copy Protection, and
   TwentyTwenty theme, feeds are broken.
 * When we deactivate WP Content Copy Protection, feeds are correct and healthy.
 * Will you be able to check on this, and fix the problem if confirmed?
    Could you
   provide any guidance to fix it ourselves if it’s not something you can take care
   of?
 * Would be great to have your answers, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [WP-Henne](https://wordpress.org/support/users/wp-henne/)
 * (@wp-henne)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/plugin-is-breaking-rss-feeds/#post-12768777)
 * Hello [@patopaiar](https://wordpress.org/support/users/patopaiar/),
 * if possible, please check if this change will temporarily solve the problem for
   you:
 * Edit
    /includes/class-protection.php
 * and comment out this line (line 43) :
    `add_action( 'wp', [ __CLASS__, 'add_source_padding']);`
 * (this will dismiss the 500 blank lines while html output, not shure if this also
   is the reason for the feed)
 * Regards
 *  Thread Starter [magicoders](https://wordpress.org/support/users/patopaiar/)
 * (@patopaiar)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/plugin-is-breaking-rss-feeds/#post-12768878)
 * This was exactly it, although instead of commenting it out, better to attempt
   a `remove_action` to avoid modifying the plugin’s files directly.
 * Thank you very much! Marking this as resolved
 *  [WP-Henne](https://wordpress.org/support/users/wp-henne/)
 * (@wp-henne)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/plugin-is-breaking-rss-feeds/#post-12769773)
 * Thank you [@patopaiar](https://wordpress.org/support/users/patopaiar/), i’m not
   very familiar with the hook and filter technique of wordpress yet and didn’t 
   think it was that easy at that moment when im writing to you.
 * Great, then I have learned something again from you!
 * Cheers!
 *  Thread Starter [magicoders](https://wordpress.org/support/users/patopaiar/)
 * (@patopaiar)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/plugin-is-breaking-rss-feeds/#post-12772937)
 * Let me know if you need help [@wp-henne](https://wordpress.org/support/users/wp-henne/)
   🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin is breaking RSS feeds’ is closed to new replies.

 * ![](https://ps.w.org/wp-content-copy-protection/assets/icon-256x256.png?rev=2179100)
 * [WP Content Copy Protection](https://wordpress.org/plugins/wp-content-copy-protection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-content-copy-protection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-content-copy-protection/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-content-copy-protection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-content-copy-protection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-content-copy-protection/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [magicoders](https://wordpress.org/support/users/patopaiar/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/plugin-is-breaking-rss-feeds/#post-12772937)
 * Status: resolved