diff --git a/inc/options-framework/autoload.php b/inc/options-framework/autoload.php index c21f2fe..be21078 100755 --- a/inc/options-framework/autoload.php +++ b/inc/options-framework/autoload.php @@ -102,7 +102,7 @@ function custom_sanitize_textarea($input) "height" => array(), "width" => array(), ); - $custom_allowedtags["script"] = array("type" => array(), "src" => array()); + $custom_allowedtags["script"] = array("type" => array(), "src" => array(), "async" => array(),); $custom_allowedtags = array_merge($custom_allowedtags, $allowedposttags); $output = wp_kses($input, $custom_allowedtags); return $output;