]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Autodiscovery header for webmention
authorStephen Paul Weber <singpolyma@singpolyma.net>
Sun, 25 Oct 2015 18:42:14 +0000 (18:42 +0000)
committerStephen Paul Weber <singpolyma@singpolyma.net>
Thu, 12 Nov 2015 19:06:17 +0000 (19:06 +0000)
plugins/Linkback/LinkbackPlugin.php

index ac95b4ab2546495047151aa19cc5109b35093c3f..642909112d9d09268ae484c2e004ad8e427d5619 100644 (file)
@@ -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'));
     }