From: Stephen Paul Weber Date: Sun, 25 Oct 2015 18:42:14 +0000 (+0000) Subject: Autodiscovery header for webmention X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=47db1ab063fbac28a00edbfe4c526676409bb46d;p=quix0rs-gnu-social.git Autodiscovery header for webmention --- diff --git a/plugins/Linkback/LinkbackPlugin.php b/plugins/Linkback/LinkbackPlugin.php index ac95b4ab25..642909112d 100644 --- a/plugins/Linkback/LinkbackPlugin.php +++ b/plugins/Linkback/LinkbackPlugin.php @@ -316,6 +316,7 @@ class LinkbackPlugin extends Plugin public function onStartShowHTML($action) { + header('Link: <' . common_local_url('webmention') . '>; rel="webmention"', false); header('X-Pingback: ' . common_local_url('pingback')); }