Message info
 
To:wp-svn@lists.automattic.com From:m@wordpress.org Subject:[wp-svn] [20902] trunk/wp-admin/includes/update-core.php: Add the old root feed files to the array, commented the way we \'ve done for wp-register.php and wp-pass.php. Date:Fri, 25 May 2012 18:12:30 +0000 (UTC)
 

Revision
20902
Author
nacin
Date
2012-05-25 18:12:29 +0000 (Fri, 25 May 2012)

Log Message

Add the old root feed files to the $_old_files array, commented the way we've done for wp-register.php and wp-pass.php. see #20727.

Modified Paths

Diff

Modified: trunk/wp-admin/includes/update-core.php (20901 => 20902)


--- trunk/wp-admin/includes/update-core.php	2012-05-25 17:58:57 UTC (rev 20901)
+++ trunk/wp-admin/includes/update-core.php	2012-05-25 18:12:29 UTC (rev 20902)
@@ -358,6 +358,12 @@
 'wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/down_arrow.gif',
 'wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/fade-butt.png',
 'wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/separator.gif',
+// Don't delete, yet: 'wp-rss.php',
+// Don't delete, yet: 'wp-rdf.php',
+// Don't delete, yet: 'wp-rss2.php',
+// Don't delete, yet: 'wp-commentsrss2.php',
+// Don't delete, yet: 'wp-atom.php',
+// Don't delete, yet: 'wp-feed.php',
 // 3.4
 'wp-admin/images/gray-star.png',
 'wp-admin/images/logo-login.png',
@@ -387,7 +393,7 @@
 'wp-includes/js/tinymce/plugins/wpgallery/editor_plugin.dev.js',
 'wp-includes/js/tinymce/plugins/wpgallery/img/gallery.png',
 'wp-includes/js/tinymce/plugins/wplink/editor_plugin.dev.js',
-// Don't delete, yet: 'wp-pass.php', 
+// Don't delete, yet: 'wp-pass.php',
 // Don't delete, yet: 'wp-register.php',
 );
 
@@ -675,7 +681,7 @@
 	global $wp_version, $pagenow, $action;
 
 	if ( version_compare( $wp_version, '3.4-RC1', '>=' ) )
-			return;
+		return;
 
 	// Ensure we only run this on the update-core.php page. wp_update_core() could be called in other contexts.
 	if ( 'update-core.php' != $pagenow )