PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.1
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.1
16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 All 504 releases
← All changes | modules/shortcodes/twitchtv.php +4 -1 13.3.316.3-a.1 View file →
@@ -8,8 +8,12 @@
8 8 *
9 9 * @package automattic/jetpack
10 10 */
11 11
12 +if ( ! defined( 'ABSPATH' ) ) {
13 + exit( 0 );
14 +}
15 +
12 16 /**
13 17 * (Live URL) https://www.twitch.tv/paperbat
14 18 *
15 19 * <iframe src="https://player.twitch.tv/?autoplay=false&#038;muted=false&#038;channel=paperbat" width="620" height="378" frameborder="0" scrolling="no" allowfullscreen></iframe>
@@ -64,9 +68,8 @@
64 68 $url_args['channel'] = $user_id;
65 69 }
66 70
67 71 // See https://discuss.dev.twitch.tv/t/twitch-embedded-player-updates-in-2020/23956.
68 - // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
69 72 $url_args['parent'] = isset( $_SERVER['HTTP_HOST'] )
70 73 ? rawurlencode( wp_unslash( $_SERVER['HTTP_HOST'] ) ) // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
71 74 : '';
72 75