moved die() command, fixes bug #309

git-svn-id: http://svn.automattic.com/wordpress/trunk@1708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
michelvaldrighi 2004-09-23 12:27:52 +00:00
parent 25a0cec898
commit ee856b3497
1 changed files with 1 additions and 1 deletions

View File

@ -15,13 +15,13 @@ function trackback_response($error = 0, $error_message = '') {
echo "<error>1</error>\n";
echo "<message>$error_message</message>\n";
echo "</response>";
die();
} else {
echo '<?xml version="1.0" encoding="utf-8"?'.">\n";
echo "<response>\n";
echo "<error>0</error>\n";
echo "</response>";
}
die();
}
// trackback is done by a POST