'Removing an unwanted prefix from rss feeds

My Wordpress RSS feeds are all prefaced with this:

<php
remove_action( 'template_redirect', 'maybe_redirect_404' );
?>

Which causes them to fail validation. Without that they all validate correctly. What's a good way to remove it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source