Alter data validation regexp so that is not malformed by wptexturize
[MAILPOET-3440]
This commit is contained in:
committed by
Veljko V
parent
5c38069caa
commit
438c9a7469
@ -35,7 +35,7 @@ class BlockRendererHelper {
|
||||
}
|
||||
|
||||
if (($blockId === 'first_name') || ($blockId === 'last_name')) {
|
||||
$rules['pattern'] = "^[^<>]*$";
|
||||
$rules['pattern'] = "^[^><]*$";
|
||||
$rules['error-message'] = __('Please specify a valid name', 'mailpoet');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user