From 47db1ab063fbac28a00edbfe4c526676409bb46d Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Sun, 25 Oct 2015 18:42:14 +0000 Subject: [PATCH] Autodiscovery header for webmention --- plugins/Linkback/LinkbackPlugin.php | 1 + 1 file changed, 1 insertion(+) 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')); } -- 2.39.5