From 17d37888942861ece6e02bd2a14ce2257100bdf3 Mon Sep 17 00:00:00 2001 From: joedolson Date: Mon, 6 Jan 2025 20:54:08 +0000 Subject: [PATCH] deploy: adc6e9f8e18877f71ed4e59a1c067e901c4dd51c --- my-calendar-locations.php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my-calendar-locations.php.html b/my-calendar-locations.php.html index 6ec4e5cf..6b6bd174 100644 --- a/my-calendar-locations.php.html +++ b/my-calendar-locations.php.html @@ -170,7 +170,7 @@ if ( isset( $post[ $name ] ) ) { if ( ! isset( $field['sanitize_callback'] ) || ( isset( $field['sanitize_callback'] ) && ! function_exists( $field['sanitize_callback'] ) ) ) { // if no sanitization is provided, we'll prep it for SQL and strip tags. - $sanitized = sanitize_text_field( strip_tags( urldecode( $post[ $name ] ) ) ); + $sanitized = sanitize_text_field( wp_strip_all_tags(( urldecode( $post[ $name ] ) ) ); } else { $sanitized = call_user_func( $field['sanitize_callback'], urldecode( $post[ $name ] ) ); }