From b709b738bc58bb28cd57cc84d34fccb1601a8974 Mon Sep 17 00:00:00 2001 From: Yury Michurin Date: Mon, 7 May 2018 11:43:11 +0300 Subject: [PATCH] CSRF ok --- jetpack-helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetpack-helper.php b/jetpack-helper.php index 13fb84da55e..d0721c2b3ea 100644 --- a/jetpack-helper.php +++ b/jetpack-helper.php @@ -83,6 +83,6 @@ function amp_videopress_enable_freedom_mode( $options ) { return $options; } -if ( isset( $_GET[ AMP_Validation_Utils::VALIDATE_QUERY_VAR ] ) ) { +if ( isset( $_GET[ AMP_Validation_Utils::VALIDATE_QUERY_VAR ] ) ) { // WPCS: CSRF ok. add_filter( 'videopress_shortcode_options', 'amp_videopress_enable_freedom_mode' ); }