mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
moved die() command, fixes bug #309
git-svn-id: https://develop.svn.wordpress.org/trunk@1708 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
24deadc930
commit
4e644c8b52
@ -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…
x
Reference in New Issue
Block a user