mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
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:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user