]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-atom.php
Wordpress 3.2.1-scripts
[autoinstalls/wordpress.git] / wp-atom.php
index 4c52b97f01fff1a29dcc403e6e379ae8ab13676e..a83ac7db1d6b58b03dc5ae1da7e319294ac25f3f 100644 (file)
@@ -1,10 +1,12 @@
 <?php
+/**
+ * Redirects to the Atom feed
+ * This file is deprecated and only exists for backwards compatibility
+ *
+ * @package WordPress
+ */
 
-if (empty($wp)) {
-       require_once('./wp-config.php');
-       wp('feed=atom');
-}
-
-require (ABSPATH . WPINC . '/feed-atom.php');
-
-?>
\ No newline at end of file
+require( './wp-load.php' );
+wp_redirect( get_bloginfo( 'atom_url' ), 301 );
+exit;
+?>