diff --git a/includes/class-discovery.php b/includes/class-discovery.php index 1284782..49d1e7f 100644 --- a/includes/class-discovery.php +++ b/includes/class-discovery.php @@ -33,8 +33,6 @@ public static function html_header() { } printf( '' . PHP_EOL, get_webmention_endpoint() ); - // backwards compatibility with v0.1 - printf( '' . PHP_EOL, get_webmention_endpoint() ); } /** @@ -46,8 +44,6 @@ public static function http_header() { } header( sprintf( 'Link: <%s>; rel="webmention"', get_webmention_endpoint() ), false ); - // backwards compatibility with v0.1 - header( sprintf( 'Link: <%s>; rel="http://webmention.org/"', get_webmention_endpoint() ), false ); } /** @@ -58,11 +54,6 @@ public static function jrd_links( $array ) { 'rel' => 'webmention', 'href' => get_webmention_endpoint(), ); - // backwards compatibility with v0.1 - $array['links'][] = array( - 'rel' => 'http://webmention.org/', - 'href' => get_webmention_endpoint(), - ); return $array; }