]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-trackback.php
Wordpress 2.0.4
[autoinstalls/wordpress.git] / wp-trackback.php
index fb7845eebd87aa77259c290e540c646702558384..1779c17ae7ff4f79e92d559709db5d5c68c90f43 100644 (file)
@@ -55,7 +55,7 @@ if ( !intval( $tb_id ) )
 
 if (empty($title) && empty($tb_url) && empty($blog_name)) {
        // If it doesn't look like a trackback at all...
 
 if (empty($title) && empty($tb_url) && empty($blog_name)) {
        // If it doesn't look like a trackback at all...
-       header('Location: ' . get_permalink($tb_id));
+       wp_redirect(get_permalink($tb_id));
        exit;
 }
 
        exit;
 }