Skip to content

Commit a8f43bf

Browse files
authored
Remove duplicate links
Fixes #536
1 parent e856ba3 commit a8f43bf

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

includes/class-discovery.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ public static function html_header() {
3333
}
3434

3535
printf( '<link rel="webmention" href="%s" />' . PHP_EOL, get_webmention_endpoint() );
36-
// backwards compatibility with v0.1
37-
printf( '<link rel="http://webmention.org/" href="%s" />' . PHP_EOL, get_webmention_endpoint() );
3836
}
3937

4038
/**
@@ -46,8 +44,6 @@ public static function http_header() {
4644
}
4745

4846
header( sprintf( 'Link: <%s>; rel="webmention"', get_webmention_endpoint() ), false );
49-
// backwards compatibility with v0.1
50-
header( sprintf( 'Link: <%s>; rel="http://webmention.org/"', get_webmention_endpoint() ), false );
5147
}
5248

5349
/**
@@ -58,11 +54,6 @@ public static function jrd_links( $array ) {
5854
'rel' => 'webmention',
5955
'href' => get_webmention_endpoint(),
6056
);
61-
// backwards compatibility with v0.1
62-
$array['links'][] = array(
63-
'rel' => 'http://webmention.org/',
64-
'href' => get_webmention_endpoint(),
65-
);
6657

6758
return $array;
6859
}

0 commit comments

Comments
 (0)