mirror of
https://github.com/discourse/wp-discourse.git
synced 2025-10-03 08:59:21 +08:00
Add noreferrer noopener
This commit is contained in:
parent
6db99da45a
commit
0b9cd0d78e
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ class HTMLTemplates {
|
|||
public static function discourse_topic_link( $new_tab ) {
|
||||
if ( $new_tab ) {
|
||||
?>
|
||||
<a class="wpdc-discourse-topic-link" target="_blank" href="{topic_url}">{discourse_url_name}</a>
|
||||
<a class="wpdc-discourse-topic-link" target="_blank" rel="noreferrer noopener" href="{topic_url}">{discourse_url_name}</a>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue