diff options
author | Yury German <blueknight@gentoo.org> | 2016-04-26 00:51:29 -0400 |
---|---|---|
committer | Yury German <blueknight@gentoo.org> | 2016-04-26 00:51:29 -0400 |
commit | da108071d5fb8098d567616db234caacf55a7b51 (patch) | |
tree | 7a2dc3a0589b74c57ab0d0c412ce733069307c50 /plugins/jetpack/modules/shortcodes/dailymotion.php | |
parent | Update plugin akismet to 3.1.10 (diff) | |
download | blogs-gentoo-da108071d5fb8098d567616db234caacf55a7b51.tar.gz blogs-gentoo-da108071d5fb8098d567616db234caacf55a7b51.tar.bz2 blogs-gentoo-da108071d5fb8098d567616db234caacf55a7b51.zip |
Adding jetpack-4.0.2
Diffstat (limited to 'plugins/jetpack/modules/shortcodes/dailymotion.php')
-rw-r--r-- | plugins/jetpack/modules/shortcodes/dailymotion.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/shortcodes/dailymotion.php b/plugins/jetpack/modules/shortcodes/dailymotion.php index d538ba38..bd4612ec 100644 --- a/plugins/jetpack/modules/shortcodes/dailymotion.php +++ b/plugins/jetpack/modules/shortcodes/dailymotion.php @@ -118,11 +118,11 @@ function dailymotion_shortcode( $atts ) { $after = ''; if ( array_key_exists( 'video', $atts ) && $video = preg_replace( '/[^-a-z0-9_]/i', '', $atts['video'] ) && array_key_exists( 'title', $atts ) && $title = wp_kses( $atts['title'], array() ) ) { - $after .= '<br /><strong><a href="' . esc_url( 'http://www.dailymotion.com/video/' . $video ) . '">' . esc_html( $title ) . '</a></strong>'; + $after .= '<br /><strong><a href="' . esc_url( 'http://www.dailymotion.com/video/' . $video ) . '" target="_blank">' . esc_html( $title ) . '</a></strong>'; } if ( array_key_exists( 'user', $atts ) && $user = preg_replace( '/[^-a-z0-9_]/i', '', $atts['user'] ) ) { - $after .= '<br /><em>Uploaded by <a href="' . esc_url( 'http://www.dailymotion.com/' . $user ) . '">' . esc_html( $user ) . '</a></em>'; + $after .= '<br /><em>Uploaded by <a href="' . esc_url( 'http://www.dailymotion.com/' . $user ) . '" target="_blank">' . esc_html( $user ) . '</a></em>'; } } |