Version 0.8.1 ()
------------------------------------------------------------------------
- * Do not display Sidebar titles if they are not set for the bundled
- default, kubrick and wp templates (sidebar.tpl) (garvinhicking)
+ * Allow the serendipity_event_trackback additional trackbacks plugin
+ to send trackbacks even if your entry did not contain at least one
+ link. Also fix not sending trackbacks containing "#" fragments
+ (garvinhicking)
+
+ * Do not display Sidebar titles if they are not set for the bundled
+ default, kubrick and wp templates (sidebar.tpl) (garvinhicking)
- * Adjusted checking for "convert" binary in installation for
- Windows servers. Thanks to BobRock! (garvinhicking)
+ * Adjusted checking for "convert" binary in installation for
+ Windows servers. Thanks to BobRock! (garvinhicking)
- * BBCode plugin: Allow ~ and ! URL characters (garvinhicking)
-
- * Added romanian translation by Alexandru Szasz
+ * BBCode plugin: Allow =, ~ and ! URL characters (garvinhicking)
+
+ * Added romanian translation by Alexandru Szasz
- * Some IIS webserver compatibility for $_SERVER variables. This should
- ensure most basic operations. (garvinhicking)
+ * Some IIS webserver compatibility for $_SERVER variables. This should
+ ensure most basic operations. (garvinhicking)
- * RSS feed does no longer initialize a session and thus now causes
- proper cachability for Conditional Get (garvinhicking)
+ * RSS feed does no longer initialize a session and thus now causes
+ proper cachability for Conditional Get (garvinhicking)
- * Fix issues on Windows installations: %T strftime-Option not known
- when saving a plugin and emitting timestamp (was empty),
- redirecting to a wrong URL for installation with '\' instead of
- '/' path indicators. Thanks to Hendy Irawan! (garvinhicking)
+ * Fix issues on Windows installations: %T strftime-Option not known
+ when saving a plugin and emitting timestamp (was empty),
+ redirecting to a wrong URL for installation with '\' instead of
+ '/' path indicators. Thanks to Hendy Irawan! (garvinhicking)
Version 0.8 (April, 15th 2005)
------------------------------------------------------------------------
return $res;
}
-function serendipity_trackback_autodiscover($res, $loc, $url, $author, $title, $text) {
+function serendipity_trackback_autodiscover($res, $loc, $url, $author, $title, $text, $loc2 = '') {
if (!preg_match('@trackback:ping(\s*rdf:resource)?\s*=\s*["\'](https?:[^"\']+)["\']@i', $res, $matches)) {
echo '<div>• ' . sprintf(TRACKBACK_FAILED, TRACKBACK_NOT_FOUND) . '</div>';
return false;
$trackURI = trim($matches[2]);
if (preg_match('@dc:identifier\s*=\s*["\'](https?:[^\'"]+)["\']@i', $res, $test)) {
- if ($loc != $test[1]) {
+ if ($loc != $test[1] && $loc2 != $test[1]) {
echo '<div>• ' . sprintf(TRACKBACK_FAILED, TRACKBACK_URI_MISMATCH) . '</div>';
return false;
}
}
if (strlen($res) != 0) {
- serendipity_trackback_autodiscover($res, $parsed_loc, $url, $author, $title, $text);
+ serendipity_trackback_autodiscover($res, $parsed_loc, $url, $author, $title, $text, $loc);
serendipity_pingback_autodiscover($loc, $res);
} else {
echo '<div>• ' . TRACKBACK_NO_DATA . '</div>';
global $serendipity;
if (!preg_match_all('@<a[^>]+?href\s*=\s*["\']?([^\'" >]+?)[ \'"][^>]*>(.+?)</a>@i', $text, $matches)) {
- return;
+ $matches = array(0 => array(), 1 => array());
+ } else {
+ // remove full matches
+ array_shift($matches);
}
- // remove full matches
- array_shift($matches);
-
// Make trackback URL
$url = serendipity_archiveURL($id, $title, 'baseURL');