Skip to content

Commit

Permalink
CSRF ok
Browse files Browse the repository at this point in the history
  • Loading branch information
yurynix authored and westonruter committed May 8, 2018
1 parent 0240bb3 commit b709b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jetpack-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
}

0 comments on commit b709b73

Please sign in to comment.