Add space between foreach and ‘(‘
[MAILPOET-1791]
This commit is contained in:
@ -46,7 +46,7 @@ class Renderer {
|
||||
$html = ($honeypot_enabled) ?
|
||||
'<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) {
|
||||
if($block['type'] == 'submit' && $settings->get('re_captcha.enabled')) {
|
||||
$site_key = $settings->get('re_captcha.site_token');
|
||||
$html .= '<div class="mailpoet_recaptcha" data-sitekey="'. $site_key .'">
|
||||
@ -70,7 +70,7 @@ class Renderer {
|
||||
}
|
||||
$html .= static::renderBlock($block) . PHP_EOL;
|
||||
}
|
||||
|
||||
|
||||
return $html;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user