Index: src/wp-includes/feed-atom-comments.php
===================================================================
--- src/wp-includes/feed-atom-comments.php	(revision 28868)
+++ src/wp-includes/feed-atom-comments.php	(working copy)
@@ -7,15 +7,16 @@
 
 header('Content-Type: ' . feed_content_type('atom') . '; charset=' . get_option('blog_charset'), true);
 echo '<?xml version="1.0" encoding="' . get_option('blog_charset') . '" ?' . '>';
+do_action( 'atom_pre' );
 ?>
 <feed
 	xmlns="http://www.w3.org/2005/Atom"
 	xml:lang="<?php bloginfo_rss( 'language' ); ?>"
 	xmlns:thr="http://purl.org/syndication/thread/1.0"
-	<?php 
+	<?php
 		/** This action is documented in wp-includes/feed-atom.php */
-		do_action( 'atom_ns' ); 
-		
+		do_action( 'atom_ns' );
+
 		/**
 		 * Fires inside the feed tag in the Atom comment feed.
 		 *
@@ -49,7 +50,7 @@
 	<link rel="self" type="application/atom+xml" href="<?php bloginfo_rss('comments_atom_url'); ?>" />
 	<id><?php bloginfo_rss('comments_atom_url'); ?></id>
 <?php } ?>
-<?php 
+<?php
 	/**
 	 * Fires at the end of the Atom comment feed header.
 	 *
Index: src/wp-includes/feed-atom.php
===================================================================
--- src/wp-includes/feed-atom.php	(revision 28868)
+++ src/wp-includes/feed-atom.php	(working copy)
@@ -8,7 +8,9 @@
 header('Content-Type: ' . feed_content_type('atom') . '; charset=' . get_option('blog_charset'), true);
 $more = 1;
 
-echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
+echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
+do_action( 'atom_pre' );
+?>
 <feed
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:thr="http://purl.org/syndication/thread/1.0"
Index: src/wp-includes/feed-rdf.php
===================================================================
--- src/wp-includes/feed-rdf.php	(revision 28868)
+++ src/wp-includes/feed-rdf.php	(working copy)
@@ -8,7 +8,9 @@
 header('Content-Type: ' . feed_content_type('rdf') . '; charset=' . get_option('blog_charset'), true);
 $more = 1;
 
-echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
+echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
+do_action( 'rdf_pre' );
+?>
 <rdf:RDF
 	xmlns="http://purl.org/rss/1.0/"
 	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
Index: src/wp-includes/feed-rss2-comments.php
===================================================================
--- src/wp-includes/feed-rss2-comments.php	(revision 28868)
+++ src/wp-includes/feed-rss2-comments.php	(working copy)
@@ -8,6 +8,7 @@
 header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true);
 
 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
+do_action( 'rss2_pre' );
 ?>
 <rss version="2.0"
 	xmlns:content="http://purl.org/rss/1.0/modules/content/"
Index: src/wp-includes/feed-rss2.php
===================================================================
--- src/wp-includes/feed-rss2.php	(revision 28868)
+++ src/wp-includes/feed-rss2.php	(working copy)
@@ -8,8 +8,9 @@
 header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true);
 $more = 1;
 
-echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
-
+echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
+do_action( 'rss2_pre' );
+?>
 <rss version="2.0"
 	xmlns:content="http://purl.org/rss/1.0/modules/content/"
 	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
