mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
index.php now handles feeds and trackbacks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1376 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+7
-3
@@ -1,8 +1,12 @@
|
||||
<?php
|
||||
|
||||
$blog = 1;
|
||||
$doing_rss = 1;
|
||||
require('wp-blog-header.php');
|
||||
if (! $doing_rss) {
|
||||
$doing_rss = 1;
|
||||
require('wp-blog-header.php');
|
||||
}
|
||||
|
||||
// Remove the pad, if present.
|
||||
$feed = preg_replace('/^_+/', '', $feed);
|
||||
|
||||
if ($feed == '' || $feed == 'feed') {
|
||||
// TODO: Get default feed from options DB.
|
||||
|
||||
Reference in New Issue
Block a user