Clean feed and trackback URLs.

git-svn-id: https://develop.svn.wordpress.org/trunk@836 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2004-02-05 20:55:50 +00:00
parent be109e5ac0
commit 6ebd3ca6c0
12 changed files with 143 additions and 24 deletions

View File

@@ -10,6 +10,11 @@ $title = $HTTP_POST_VARS['title'];
$excerpt = $HTTP_POST_VARS['excerpt'];
$blog_name = $HTTP_POST_VARS['blog_name'];
require('wp-blog-header.php');
if ( (($p != '') && ($p != 'all')) || ($name != '') ) {
$tb_id = $posts[0]->ID;
}
if (empty($title) && empty($tb_url) && empty($blog_name)) {
// If it doesn't look like a trackback at all...