mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
25a0cec898
commit
ee856b3497
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user