mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-19 21:15:23 +00:00
Perform empty() check on $doing_trackback. Bug 426.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a2b6757246
commit
4926900b83
@ -17,8 +17,8 @@ if (!get_magic_quotes_gpc()) {
|
|||||||
$_COOKIE = add_magic_quotes($_COOKIE);
|
$_COOKIE = add_magic_quotes($_COOKIE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !$doing_trackback) {
|
if (empty($doing_trackback)) {
|
||||||
$doing_trackback = 1;
|
$doing_trackback = true;
|
||||||
require('wp-blog-header.php');
|
require('wp-blog-header.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user