We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37cf5ac commit 30e3b46Copy full SHA for 30e3b46
mu-plugins/jquery-actions.php
@@ -53,7 +53,10 @@ function jquery_xfnrelme_wp_head() {
53
$sites[ JQUERY_LIVE_SITE ]['xfn-rel-me'] :
54
array();
55
foreach ( $links as $url ) {
56
- echo '<link rel="me" href="' . esc_url( $url ) . '">' . "\n";
+ // We use esc_attr instead of esc_url, as the latter would shorten
57
+ // the URL to be scheme-less as "//example" instead of "https://example",
58
+ // which prevents relation verification.
59
+ echo '<link rel="me" href="' . esc_attr( $url ) . '">' . "\n";
60
}
61
62
0 commit comments