Hide honeypot field to prevent Safari autocomplete
[MAILPOET-1180]
This commit is contained in:
@ -15,7 +15,7 @@ class Renderer {
|
|||||||
$styles = new Util\Styles(static::getStyles($form));
|
$styles = new Util\Styles(static::getStyles($form));
|
||||||
|
|
||||||
$html = '<style type="text/css">';
|
$html = '<style type="text/css">';
|
||||||
$html .= '.mailpoet_hp_email_label{position: absolute;left: -999em;}'; // move honeypot field out of sight
|
$html .= '.mailpoet_hp_email_label{display:none;}'; // move honeypot field out of sight
|
||||||
$html .= $styles->render($prefix);
|
$html .= $styles->render($prefix);
|
||||||
$html .= '</style>';
|
$html .= '</style>';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user