Single Pledge: Add nofollow to user input links.

Otherwise it would incorrectly signal to search engines that we're endorsing the links.
This commit is contained in:
Ian Dunn 2019-10-31 17:56:18 -05:00
parent 22cb761c57
commit 1b3e2e3301
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB

View file

@ -28,7 +28,7 @@ get_header(); ?>
<span class="pledge-url">
<?php
printf(
'<a href="%1$s">%1$s</a>',
'<a href="%1$s" rel="nofollow">%1$s</a>',
esc_url( $post->{ META_PREFIX . 'org-url' } )
);
?>