1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 19:44:09 +02:00

More rel="noopener" and og: changes.

This commit is contained in:
Cameron
2021-09-25 09:57:18 -07:00
parent 5d0db673e3
commit af0b5dcb84
3 changed files with 7 additions and 5 deletions

View File

@@ -372,7 +372,7 @@ class social_shortcodes extends e_shortcode
$btnClass .= ' social-share-mobile';
}
$opt[$k] = "<a class='".$btnClass." ".$tooltip." ".$butSize." social-share-".$k."' target='_blank' title='".$val["title"]."' href='".$shareUrl."'>".$tp->toIcon($val["icon"], array('fw'=>1))."</a>";
$opt[$k] = "<a rel='noopener' class='".$btnClass." ".$tooltip." ".$butSize." social-share-".$k."' target='_blank' title='".$val["title"]."' href='".$shareUrl."'>".$tp->toIcon($val["icon"], array('fw'=>1))."</a>";
}
// Show only Email, Facebook, Twitter and Google.