mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Move trackbacks to new comment function.
git-svn-id: https://develop.svn.wordpress.org/trunk@1616 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -578,23 +578,6 @@ function trackback($trackback_url, $title, $excerpt, $ID) {
|
||||
return $result;
|
||||
}
|
||||
|
||||
// trackback - reply
|
||||
function trackback_response($error = 0, $error_message = '') {
|
||||
if ($error) {
|
||||
echo '<?xml version="1.0" encoding="utf-8"?'.">\n";
|
||||
echo "<response>\n";
|
||||
echo "<error>1</error>\n";
|
||||
echo "<message>$error_message</message>\n";
|
||||
echo "</response>";
|
||||
} else {
|
||||
echo '<?xml version="1.0" encoding="utf-8"?'.">\n";
|
||||
echo "<response>\n";
|
||||
echo "<error>0</error>\n";
|
||||
echo "</response>";
|
||||
}
|
||||
die();
|
||||
}
|
||||
|
||||
function make_url_footnote($content) {
|
||||
preg_match_all('/<a(.+?)href=\"(.+?)\"(.*?)>(.+?)<\/a>/', $content, $matches);
|
||||
$j = 0;
|
||||
|
||||
Reference in New Issue
Block a user