PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.1
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.1
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/Partial/toolbar/button_main.php +0 -33 11.1.0 → 11.1.1 View file →
@@ -1,33 +1,0 @@
1 -<?php
2 -// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- View file, its variables are local to the include scope, not true globals.
3 -defined('ABSPATH') || die('Restricted Access');
4 -?>
5 -<button class="acym_vcenter align-center acy_button_submit cell medium-6 large-shrink button <?php echo $data['isPrimary'] ? '' : 'button-secondary'; ?>"
6 - <?php
7 - foreach ($data['attributes'] as $oneAttribute => $oneValue) {
8 - if (is_array($oneValue) || is_object($oneValue)) {
9 - $oneValue = json_encode($oneValue);
10 - } elseif ($oneValue === true) {
11 - $oneValue = $oneAttribute;
12 - }
13 -
14 - echo ' '.esc_attr($oneAttribute).'="'.esc_attr($oneValue).'"';
15 - }
16 - ?>
17 ->
18 - <?php
19 - if (!empty($data['icon'])) {
20 - echo '<i class="acymicon-'.esc_attr($data['icon']).'"></i>';
21 - }
22 -
23 - echo ' '.wp_kses(
24 - $data['content'],
25 - [
26 - 'span' => [
27 - 'id' => true,
28 - 'data-default' => true,
29 - ],
30 - ]
31 - );
32 - ?>
33 -</button>