Skip to content

Commit

Permalink
deploy: adc6e9f
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 6, 2025
1 parent f23b4e2 commit 17d3788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion my-calendar-locations.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 ] ) );
}
Expand Down

0 comments on commit 17d3788

Please sign in to comment.