Version 0.9 ()
------------------------------------------------------------------------
+ * Allow the serendipity_event_trackback additional trackbacks plugin
+ to send trackbacks even if your entry did not contain at least one
+ link (garvinhicking)
+
* Do not display Sidebar titles if they are not set for the bundled
default, kubrick and wp templates (sidebar.tpl) (garvinhicking)
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');