diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2018-04-10 22:00:23 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2018-04-10 22:00:23 -0400 |
commit | a9f67089ebcadba2c7392e91d77c1b32a5515c1a (patch) | |
tree | 46d486f0aabbaa08f2ed083e1e65cf05dfcecdb8 /plugins/jetpack/modules/widgets/wordpress-post-widget.php | |
parent | Update wordpress-mobile-pack 3.3 (diff) | |
download | blogs-gentoo-a9f67089ebcadba2c7392e91d77c1b32a5515c1a.tar.gz blogs-gentoo-a9f67089ebcadba2c7392e91d77c1b32a5515c1a.tar.bz2 blogs-gentoo-a9f67089ebcadba2c7392e91d77c1b32a5515c1a.zip |
Update jetpack 6.0
Diffstat (limited to 'plugins/jetpack/modules/widgets/wordpress-post-widget.php')
-rw-r--r-- | plugins/jetpack/modules/widgets/wordpress-post-widget.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/widgets/wordpress-post-widget.php b/plugins/jetpack/modules/widgets/wordpress-post-widget.php index 8715698b..95856d1e 100644 --- a/plugins/jetpack/modules/widgets/wordpress-post-widget.php +++ b/plugins/jetpack/modules/widgets/wordpress-post-widget.php @@ -795,7 +795,7 @@ class Jetpack_Display_Posts_Widget extends WP_Widget { $target = ''; if ( isset( $instance['open_in_new_window'] ) && $instance['open_in_new_window'] == true ) { - $target = ' target="_blank"'; + $target = ' target="_blank" rel="noopener"'; } $content .= '<h4><a href="' . esc_url( $single_post['url'] ) . '"' . $target . '>' . esc_html( $post_title ) . '</a></h4>' . "\n"; if ( ( $instance['featured_image'] == true ) && ( ! empty ( $single_post['featured_image'] ) ) ) { |