Skip to content

Commit

Permalink
Perform empty() check on $doing_trackback. Bug 426.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/trunk@1918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
rboren committed Dec 8, 2004
1 parent a2b6757 commit 4926900
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wp-trackback.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ function add_magic_quotes($array) {
$_COOKIE = add_magic_quotes($_COOKIE);
}

if ( !$doing_trackback) {
$doing_trackback = 1;
if (empty($doing_trackback)) {
$doing_trackback = true;
require('wp-blog-header.php');
}

Expand Down

0 comments on commit 4926900

Please sign in to comment.