Linkback plugin does pingback by default

We do pingback by default for the linkback plugin.
This commit is contained in:
Evan Prodromou 2009-03-28 17:11:21 -04:00
parent d1f2e68133
commit a4919eab6a

View File

@ -105,12 +105,13 @@ class LinkbackPlugin extends Plugin
$pb = $match[1];
}
if (!empty($pb)) {
$this->pingback($result->final_url, $pb);
} else {
$tb = $this->getTrackback($result->body, $result->final_url);
if (!empty($tb)) {
$this->trackback($result->final_url, $tb);
} else if (!empty($pb)) {
$this->pingback($result->final_url, $pb);
}
}
return $orig;