mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 11:03:43 +03:00
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:
parent
22cb761c57
commit
1b3e2e3301
|
@ -28,7 +28,7 @@ get_header(); ?>
|
||||||
<span class="pledge-url">
|
<span class="pledge-url">
|
||||||
<?php
|
<?php
|
||||||
printf(
|
printf(
|
||||||
'<a href="%1$s">%1$s</a>',
|
'<a href="%1$s" rel="nofollow">%1$s</a>',
|
||||||
esc_url( $post->{ META_PREFIX . 'org-url' } )
|
esc_url( $post->{ META_PREFIX . 'org-url' } )
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue