Remove an attribute we don't need anymore
[MAILPOET-1180]
This commit is contained in:
@@ -41,7 +41,7 @@ class Renderer {
|
|||||||
static function renderBlocks($blocks = array(), $honeypot_enabled = true) {
|
static function renderBlocks($blocks = array(), $honeypot_enabled = true) {
|
||||||
// add honeypot for spambots
|
// add honeypot for spambots
|
||||||
$html = ($honeypot_enabled) ?
|
$html = ($honeypot_enabled) ?
|
||||||
'<label class="mailpoet_hp_email_label">' . __('Please leave this field empty', 'mailpoet') . '<input autocomplete="not-really-email" type="email" name="data[email]"></label>' :
|
'<label class="mailpoet_hp_email_label">' . __('Please leave this field empty', 'mailpoet') . '<input type="email" name="data[email]"></label>' :
|
||||||
'';
|
'';
|
||||||
foreach($blocks as $key => $block) {
|
foreach($blocks as $key => $block) {
|
||||||
$html .= static::renderBlock($block) . PHP_EOL;
|
$html .= static::renderBlock($block) . PHP_EOL;
|
||||||
|
Reference in New Issue
Block a user