diff options
author | Michal Čihař <michal@cihar.com> | 2016-07-12 11:57:23 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-07-12 12:02:53 +0300 |
commit | 3c06eede3fda803fb2b931598e26d61563a4502b (patch) | |
tree | 9457cc046b31c3693f6fb026ce3b8c3f3e4f8477 /themes.php | |
parent | 2090eb57aaada8a2fc1c6e34ceaae657ef2ec404 (diff) |
Add rel="noopener noreferrer" to all target="_blank" links
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'themes.php')
-rw-r--r-- | themes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes.php b/themes.php index 5c6f2089f2..a8cc0d605d 100644 --- a/themes.php +++ b/themes.php @@ -21,7 +21,7 @@ $hash = '#pma_' . preg_replace('/([0-9]*)\.([0-9]*)\..*/', '\1_\2', PMA_VERSI $url = PMA_linkURL('https://www.phpmyadmin.net/themes/') . $hash; $output = '<h1>phpMyAdmin - ' . __('Theme') . '</h1>'; $output .= '<p>'; -$output .= '<a href="' . $url . '" class="_blank">'; +$output .= '<a href="' . $url . '" rel="noopener noreferrer" class="_blank">'; $output .= __('Get more themes!'); $output .= '</a>'; $output .= '</p>'; |