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:
Ryan Boren
2004-05-31 23:35:32 +00:00
parent 013c08307a
commit b721c5b54f
4 changed files with 33 additions and 10 deletions

View File

@@ -10,7 +10,10 @@ $title = $_POST['title'];
$excerpt = $_POST['excerpt'];
$blog_name = $_POST['blog_name'];
require('wp-blog-header.php');
if (! $doing_trackback) {
$doing_trackback = 1;
require('wp-blog-header.php');
}
if ( (($p != '') && ($p != 'all')) || ($name != '') ) {
$tb_id = $posts[0]->ID;