Skip to content

Commit

Permalink
strip tags from {email} replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Sep 16, 2024
1 parent b2d530c commit 5709b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-dynamic-content-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ protected function get_post_property($args = array())
protected function get_email()
{
if (! empty($_REQUEST['EMAIL'])) {
return $_REQUEST['EMAIL'];
return strip_tags($_REQUEST['EMAIL']);
}

// then , try logged-in user
Expand Down

0 comments on commit 5709b12

Please sign in to comment.