Skip to content

Commit

Permalink
Remove noreferrer from Site Meta List block.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndiego committed Oct 17, 2023
1 parent cb9f322 commit 71c45ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function get_value( $type, $key, $post_id ) {
$value = get_the_date( 'F Y', $post_id );
} else if ( 'domain' === $key ) {
// Domain uses shortcodes to output pretty format.
$value = do_shortcode( '<a class="external-link" href="[domain]" target="_blank" rel="noopener noreferrer">[pretty_domain]</a>' );
$value = do_shortcode( '<a class="external-link" href="[domain]" target="_blank" rel="noopener">[pretty_domain]</a>' );
} else if ( 'post_title' === $key ) {
$value = sprintf( '<a href="%s">%s</a>', get_permalink( $post_id ), get_the_title( $post_id ) );
}
Expand Down

0 comments on commit 71c45ae

Please sign in to comment.