diff --git a/classes/amazon-s3-and-cloudfront.php b/classes/amazon-s3-and-cloudfront.php index 8b673a19..28b40786 100644 --- a/classes/amazon-s3-and-cloudfront.php +++ b/classes/amazon-s3-and-cloudfront.php @@ -54,7 +54,7 @@ function get_setting( $key, $default = '' ) { if ( isset( $_POST['action'] ) && 'as3cf-get-url-preview' == sanitize_key( $_POST['action'] ) ) { // input var okay $value = 0; if ( isset( $_POST[ $key ] ) ) { // input var okay - $value = sanitize_text_field( $_POST[ $key ] ); // input var okay + $value = $_POST[ $key ]; // input var okay if ( is_array( $value ) ) { // checkbox is checked $value = 1;