diff options
Diffstat (limited to 'wp-trackback.php')
-rw-r--r-- | wp-trackback.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-trackback.php b/wp-trackback.php index daa16c1..0d1813a 100644 --- a/wp-trackback.php +++ b/wp-trackback.php @@ -47,8 +47,8 @@ if ( function_exists('mb_convert_encoding') ) { // For international trackbacks $blog_name = mb_convert_encoding($blog_name, get_option('blog_charset'), $charset); } -if ( is_single() || is_page() ) - $tb_id = $posts[0]->ID; +if ( is_single() || is_page() ) + $tb_id = $posts[0]->ID; if ( !intval( $tb_id ) ) trackback_response(1, 'I really need an ID for this to work.'); |