Easy Forms for MailChimp - Version 6.5.4

Version Description

  • August 28th, 2019 =
  • Patched security vulnerability found in on of our dependencies.
Download this release

Release Info

Developer fmixell
Plugin Icon 128x128 Easy Forms for MailChimp
Version 6.5.4
Comparing to
See all releases

Code changes from version 6.5.3 to 6.5.4

.scrutinizer.yml CHANGED
@@ -1,115 +1,115 @@
1
- tools:
2
- php_sim: true
3
- php_pdepend: true
4
- php_analyzer: true
5
- php_code_sniffer:
6
- config:
7
- standard: "WordPress" # Other Values: PSR2, PEAR, Zend, WordPress, Drupal, TYPO3CMS
8
- external_code_coverage:
9
- timeout: 900 # Timeout in seconds (15 mins for slow/throttled reports).
10
-
11
- filter:
12
- excluded_paths: [tests/*, bin/*, includes/error_log/yikes-easy-mailchimp-error-log.php, includes/images/* ]
13
-
14
- checks:
15
- php:
16
- code_rating: true
17
- duplication: true
18
-
19
- coding_style:
20
- php:
21
- indentation:
22
- general:
23
- use_tabs: true
24
- size: 3
25
- switch:
26
- indent_case: true
27
- spaces:
28
- before_parentheses:
29
- function_declaration: false
30
- closure_definition: false
31
- function_call: false
32
- if: true
33
- for: true
34
- while: true
35
- switch: true
36
- catch: true
37
- array_initializer: false
38
- around_operators:
39
- assignment: true
40
- logical: true
41
- equality: true
42
- relational: true
43
- bitwise: true
44
- additive: true
45
- multiplicative: true
46
- shift: true
47
- unary_additive: false
48
- concatenation: true
49
- negation: true
50
- before_left_brace:
51
- class: true
52
- function: true
53
- if: true
54
- else: true
55
- for: true
56
- while: true
57
- do: true
58
- switch: true
59
- try: true
60
- catch: true
61
- finally: true
62
- before_keywords:
63
- else: true
64
- while: true
65
- catch: true
66
- finally: true
67
- within:
68
- brackets: true
69
- array_initializer: true
70
- grouping: true
71
- function_call: true
72
- function_declaration: true
73
- if: true
74
- for: true
75
- while: true
76
- switch: true
77
- catch: true
78
- type_cast: false
79
- ternary_operator:
80
- before_condition: true
81
- after_condition: true
82
- before_alternative: true
83
- after_alternative: true
84
- in_short_version: true
85
- other:
86
- before_comma: false
87
- after_comma: true
88
- before_semicolon: false
89
- after_semicolon: true
90
- after_type_cast: true
91
- braces:
92
- classes_functions:
93
- class: end-of-line
94
- function: end-of-line
95
- closure: end-of-line
96
- if:
97
- opening: end-of-line
98
- always: true
99
- else_on_new_line: false
100
- for:
101
- opening: end-of-line
102
- always: true
103
- while:
104
- opening: end-of-line
105
- always: true
106
- do_while:
107
- opening: end-of-line
108
- always: true
109
- while_on_new_line: false
110
- switch:
111
- opening: end-of-line
112
- try:
113
- opening: end-of-line
114
- catch_on_new_line: false
115
- finally_on_new_line: false
1
+ tools:
2
+ php_sim: true
3
+ php_pdepend: true
4
+ php_analyzer: true
5
+ php_code_sniffer:
6
+ config:
7
+ standard: "WordPress" # Other Values: PSR2, PEAR, Zend, WordPress, Drupal, TYPO3CMS
8
+ external_code_coverage:
9
+ timeout: 900 # Timeout in seconds (15 mins for slow/throttled reports).
10
+
11
+ filter:
12
+ excluded_paths: [tests/*, bin/*, includes/error_log/yikes-easy-mailchimp-error-log.php, includes/images/* ]
13
+
14
+ checks:
15
+ php:
16
+ code_rating: true
17
+ duplication: true
18
+
19
+ coding_style:
20
+ php:
21
+ indentation:
22
+ general:
23
+ use_tabs: true
24
+ size: 3
25
+ switch:
26
+ indent_case: true
27
+ spaces:
28
+ before_parentheses:
29
+ function_declaration: false
30
+ closure_definition: false
31
+ function_call: false
32
+ if: true
33
+ for: true
34
+ while: true
35
+ switch: true
36
+ catch: true
37
+ array_initializer: false
38
+ around_operators:
39
+ assignment: true
40
+ logical: true
41
+ equality: true
42
+ relational: true
43
+ bitwise: true
44
+ additive: true
45
+ multiplicative: true
46
+ shift: true
47
+ unary_additive: false
48
+ concatenation: true
49
+ negation: true
50
+ before_left_brace:
51
+ class: true
52
+ function: true
53
+ if: true
54
+ else: true
55
+ for: true
56
+ while: true
57
+ do: true
58
+ switch: true
59
+ try: true
60
+ catch: true
61
+ finally: true
62
+ before_keywords:
63
+ else: true
64
+ while: true
65
+ catch: true
66
+ finally: true
67
+ within:
68
+ brackets: true
69
+ array_initializer: true
70
+ grouping: true
71
+ function_call: true
72
+ function_declaration: true
73
+ if: true
74
+ for: true
75
+ while: true
76
+ switch: true
77
+ catch: true
78
+ type_cast: false
79
+ ternary_operator:
80
+ before_condition: true
81
+ after_condition: true
82
+ before_alternative: true
83
+ after_alternative: true
84
+ in_short_version: true
85
+ other:
86
+ before_comma: false
87
+ after_comma: true
88
+ before_semicolon: false
89
+ after_semicolon: true
90
+ after_type_cast: true
91
+ braces:
92
+ classes_functions:
93
+ class: end-of-line
94
+ function: end-of-line
95
+ closure: end-of-line
96
+ if:
97
+ opening: end-of-line
98
+ always: true
99
+ else_on_new_line: false
100
+ for:
101
+ opening: end-of-line
102
+ always: true
103
+ while:
104
+ opening: end-of-line
105
+ always: true
106
+ do_while:
107
+ opening: end-of-line
108
+ always: true
109
+ while_on_new_line: false
110
+ switch:
111
+ opening: end-of-line
112
+ try:
113
+ opening: end-of-line
114
+ catch_on_new_line: false
115
+ finally_on_new_line: false
.travis.yml CHANGED
@@ -1,65 +1,65 @@
1
- language: php
2
-
3
- sudo: false
4
-
5
- php:
6
- - 5.4
7
- - 5.5
8
- - 5.6
9
- - 7.0
10
- # https://hhvm.com/blog/2018/09/12/end-of-php-support-future-of-hack.html
11
- #- hhvm
12
-
13
- env:
14
- - WP_VERSION=latest WP_MULTISITE=0
15
- - WP_VERSION=4.9 WP_MULTISITE=0
16
- - WP_VERSION=4.6 WP_MULTISITE=0
17
- - WP_VERSION=4.3 WP_MULTISITE=0
18
- - WP_VERSION=4.0 WP_MULTISITE=0
19
-
20
- matrix:
21
- include:
22
- - php: 5.3
23
- dist: precise
24
- env: WP_VERSION=4.9 WP_MULTISITE=0
25
- - php: 5.4
26
- env: WP_VERSION=latest WP_MULTISITE=1
27
- exclude:
28
- # https://github.com/WordPress/wordpress-develop/commit/ce8a915c06c42ef4e65e26ce39c20e5029e80293
29
- - php: 7.0
30
- env: WP_VERSION=4.6 WP_MULTISITE=0
31
- - php: 7.0
32
- env: WP_VERSION=4.3 WP_MULTISITE=0
33
- - php: 7.0
34
- env: WP_VERSION=4.0 WP_MULTISITE=0
35
-
36
- before_script:
37
- - |
38
- phpunit --version
39
- - |
40
- bash bin/install-wp-tests.sh wordpress_test root '' localhost "$WP_VERSION"
41
-
42
- script:
43
- - |
44
- if [[ "$TRAVIS_PHP_VERSION" == 5.5 && "$WP_VERSION" == latest && "$WP_MULTISITE" == 0 ]]; then
45
- phpunit --coverage-clover=coverage.clover
46
- else
47
- phpunit
48
- fi
49
-
50
- after_script:
51
- - |
52
- if [[ "$TRAVIS_PHP_VERSION" == 5.5 && "$WP_VERSION" == latest && "$WP_MULTISITE" == 0 ]]; then
53
- wget "https://scrutinizer-ci.com/ocular.phar"
54
- fi
55
- - |
56
- if [[ "$TRAVIS_PHP_VERSION" == 5.5 && "$WP_VERSION" == latest && "$WP_MULTISITE" == 0 ]]; then
57
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
58
- fi
59
-
60
- notifications:
61
- email:
62
- on_success: change
63
- on_failure: change
64
- slack:
65
- secure: Vl+EtMXcpx8JowBmLNrWhAyvebu/VF7hXVFX5BFMl/6vA5GBE6hnw3vI/TlB6PAso4Mv6yMVY4xUzzBYWow3ClwaTCYNlCTxQEUon2H7FIqGV3Wrir28zxGcSAX7VHGf3w6acHP7LnPIQrIctRjKqcbYVbjR36ha9gJgUU/OUeI=
1
+ language: php
2
+
3
+ sudo: false
4
+
5
+ php:
6
+ - 5.4
7
+ - 5.5
8
+ - 5.6
9
+ - 7.0
10
+ # https://hhvm.com/blog/2018/09/12/end-of-php-support-future-of-hack.html
11
+ #- hhvm
12
+
13
+ env:
14
+ - WP_VERSION=latest WP_MULTISITE=0
15
+ - WP_VERSION=4.9 WP_MULTISITE=0
16
+ - WP_VERSION=4.6 WP_MULTISITE=0
17
+ - WP_VERSION=4.3 WP_MULTISITE=0
18
+ - WP_VERSION=4.0 WP_MULTISITE=0
19
+
20
+ matrix:
21
+ include:
22
+ - php: 5.3
23
+ dist: precise
24
+ env: WP_VERSION=4.9 WP_MULTISITE=0
25
+ - php: 5.4
26
+ env: WP_VERSION=latest WP_MULTISITE=1
27
+ exclude:
28
+ # https://github.com/WordPress/wordpress-develop/commit/ce8a915c06c42ef4e65e26ce39c20e5029e80293
29
+ - php: 7.0
30
+ env: WP_VERSION=4.6 WP_MULTISITE=0
31
+ - php: 7.0
32
+ env: WP_VERSION=4.3 WP_MULTISITE=0
33
+ - php: 7.0
34
+ env: WP_VERSION=4.0 WP_MULTISITE=0
35
+
36
+ before_script:
37
+ - |
38
+ phpunit --version
39
+ - |
40
+ bash bin/install-wp-tests.sh wordpress_test root '' localhost "$WP_VERSION"
41
+
42
+ script:
43
+ - |
44
+ if [[ "$TRAVIS_PHP_VERSION" == 5.5 && "$WP_VERSION" == latest && "$WP_MULTISITE" == 0 ]]; then
45
+ phpunit --coverage-clover=coverage.clover
46
+ else
47
+ phpunit
48
+ fi
49
+
50
+ after_script:
51
+ - |
52
+ if [[ "$TRAVIS_PHP_VERSION" == 5.5 && "$WP_VERSION" == latest && "$WP_MULTISITE" == 0 ]]; then
53
+ wget "https://scrutinizer-ci.com/ocular.phar"
54
+ fi
55
+ - |
56
+ if [[ "$TRAVIS_PHP_VERSION" == 5.5 && "$WP_VERSION" == latest && "$WP_MULTISITE" == 0 ]]; then
57
+ php ocular.phar code-coverage:upload --format=php-clover coverage.clover
58
+ fi
59
+
60
+ notifications:
61
+ email:
62
+ on_success: change
63
+ on_failure: change
64
+ slack:
65
+ secure: Vl+EtMXcpx8JowBmLNrWhAyvebu/VF7hXVFX5BFMl/6vA5GBE6hnw3vI/TlB6PAso4Mv6yMVY4xUzzBYWow3ClwaTCYNlCTxQEUon2H7FIqGV3Wrir28zxGcSAX7VHGf3w6acHP7LnPIQrIctRjKqcbYVbjR36ha9gJgUU/OUeI=
includes/images/bars.svg CHANGED
@@ -1,14 +1,14 @@
1
- <svg width="200px" height="200px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-facebook" style="background-image: none; background-position: initial initial; background-repeat: initial initial;">
2
- <rect ng-attr-x="{{config.x1}}" ng-attr-y="{{config.y}}" ng-attr-width="{{config.width}}" ng-attr-height="{{config.height}}" ng-attr-fill="{{config.c1}}" x="17.5" y="30" width="15" height="40" fill="#7f7f7f">
3
- <animate attributeName="y" calcMode="spline" values="18;30;30" keyTimes="0;0.5;1" dur="1" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="-0.2s" repeatCount="indefinite"></animate>
4
- <animate attributeName="height" calcMode="spline" values="64;40;40" keyTimes="0;0.5;1" dur="1" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="-0.2s" repeatCount="indefinite"></animate>
5
- </rect>
6
- <rect ng-attr-x="{{config.x2}}" ng-attr-y="{{config.y}}" ng-attr-width="{{config.width}}" ng-attr-height="{{config.height}}" ng-attr-fill="{{config.c2}}" x="42.5" y="30" width="15" height="40" fill="#acacac">
7
- <animate attributeName="y" calcMode="spline" values="20.999999999999996;30;30" keyTimes="0;0.5;1" dur="1" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="-0.1s" repeatCount="indefinite"></animate>
8
- <animate attributeName="height" calcMode="spline" values="58.00000000000001;40;40" keyTimes="0;0.5;1" dur="1" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="-0.1s" repeatCount="indefinite"></animate>
9
- </rect>
10
- <rect ng-attr-x="{{config.x3}}" ng-attr-y="{{config.y}}" ng-attr-width="{{config.width}}" ng-attr-height="{{config.height}}" ng-attr-fill="{{config.c3}}" x="67.5" y="30" width="15" height="40" fill="#cacaca">
11
- <animate attributeName="y" calcMode="spline" values="24;30;30" keyTimes="0;0.5;1" dur="1" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="0s" repeatCount="indefinite"></animate>
12
- <animate attributeName="height" calcMode="spline" values="52;40;40" keyTimes="0;0.5;1" dur="1" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="0s" repeatCount="indefinite"></animate>
13
- </rect>
14
  </svg>
1
+ <svg width="200px" height="200px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-facebook" style="background-image: none; background-position: initial initial; background-repeat: initial initial;">
2
+ <rect ng-attr-x="{{config.x1}}" ng-attr-y="{{config.y}}" ng-attr-width="{{config.width}}" ng-attr-height="{{config.height}}" ng-attr-fill="{{config.c1}}" x="17.5" y="30" width="15" height="40" fill="#7f7f7f">
3
+ <animate attributeName="y" calcMode="spline" values="18;30;30" keyTimes="0;0.5;1" dur="1" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="-0.2s" repeatCount="indefinite"></animate>
4
+ <animate attributeName="height" calcMode="spline" values="64;40;40" keyTimes="0;0.5;1" dur="1" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="-0.2s" repeatCount="indefinite"></animate>
5
+ </rect>
6
+ <rect ng-attr-x="{{config.x2}}" ng-attr-y="{{config.y}}" ng-attr-width="{{config.width}}" ng-attr-height="{{config.height}}" ng-attr-fill="{{config.c2}}" x="42.5" y="30" width="15" height="40" fill="#acacac">
7
+ <animate attributeName="y" calcMode="spline" values="20.999999999999996;30;30" keyTimes="0;0.5;1" dur="1" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="-0.1s" repeatCount="indefinite"></animate>
8
+ <animate attributeName="height" calcMode="spline" values="58.00000000000001;40;40" keyTimes="0;0.5;1" dur="1" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="-0.1s" repeatCount="indefinite"></animate>
9
+ </rect>
10
+ <rect ng-attr-x="{{config.x3}}" ng-attr-y="{{config.y}}" ng-attr-width="{{config.width}}" ng-attr-height="{{config.height}}" ng-attr-fill="{{config.c3}}" x="67.5" y="30" width="15" height="40" fill="#cacaca">
11
+ <animate attributeName="y" calcMode="spline" values="24;30;30" keyTimes="0;0.5;1" dur="1" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="0s" repeatCount="indefinite"></animate>
12
+ <animate attributeName="height" calcMode="spline" values="52;40;40" keyTimes="0;0.5;1" dur="1" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="0s" repeatCount="indefinite"></animate>
13
+ </rect>
14
  </svg>
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: Mailchimp, Mailchimp forms, Mailchimp lists, opt-in forms, sign up form, M
5
  Requires at least: 4.0
6
  Tested up to: 5.2
7
  Requires PHP: 5.2.13
8
- Stable tag: 6.5.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -172,6 +172,9 @@ For information and code examples on how to implement the hooks and filters prov
172
 
173
  == Changelog ==
174
 
 
 
 
175
  = 6.5.3 - July 1st, 2019 =
176
  * Added support for showing whether your site is being blocked by Mailchimp. If you're blocked, you will now see an error on the plugin's General Settings page.
177
  * Added a filter for our checkbox integrations, `yikes_mailchimp_checkbox_integration_additional_vars`. This allows you to use custom variables in our other filters.
5
  Requires at least: 4.0
6
  Tested up to: 5.2
7
  Requires PHP: 5.2.13
8
+ Stable tag: 6.5.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
172
 
173
  == Changelog ==
174
 
175
+ = 6.5.4 - August 28th, 2019 =
176
+ * Patched security vulnerability found in on of our dependencies.
177
+
178
  = 6.5.3 - July 1st, 2019 =
179
  * Added support for showing whether your site is being blocked by Mailchimp. If you're blocked, you will now see an error on the plugin's General Settings page.
180
  * Added a filter for our checkbox integrations, `yikes_mailchimp_checkbox_integration_additional_vars`. This allows you to use custom variables in our other filters.
yikes-inc-easy-mailchimp-extender.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Easy Forms for Mailchimp
4
  * Plugin URI: https://yikesplugins.com/plugin/easy-forms-for-mailchimp/
5
  * Description: The ultimate Mailchimp WordPress plugin. Easily build <strong>unlimited forms for your Mailchimp lists</strong>, add them to your site and track subscriber activity. To get started, go to the settings page and enter your <a href="https://yikesplugins.com/support/knowledge-base/finding-your-mailchimp-api-key/" target="_blank">Mailchimp API key</a>.
6
- * Version: 6.5.3
7
  * Author: YIKES, Inc.
8
  * Author URI: https://www.yikesplugins.com/
9
  * License: GPL-3.0+
@@ -43,7 +43,7 @@ if ( ! defined( 'WPINC' ) ) {
43
  * @since 6.1.3
44
  */
45
  if ( ! defined( 'YIKES_MC_VERSION' ) ) {
46
- define( 'YIKES_MC_VERSION', '6.5.3' );
47
  }
48
 
49
  /**
3
  * Plugin Name: Easy Forms for Mailchimp
4
  * Plugin URI: https://yikesplugins.com/plugin/easy-forms-for-mailchimp/
5
  * Description: The ultimate Mailchimp WordPress plugin. Easily build <strong>unlimited forms for your Mailchimp lists</strong>, add them to your site and track subscriber activity. To get started, go to the settings page and enter your <a href="https://yikesplugins.com/support/knowledge-base/finding-your-mailchimp-api-key/" target="_blank">Mailchimp API key</a>.
6
+ * Version: 6.5.4
7
  * Author: YIKES, Inc.
8
  * Author URI: https://www.yikesplugins.com/
9
  * License: GPL-3.0+
43
  * @since 6.1.3
44
  */
45
  if ( ! defined( 'YIKES_MC_VERSION' ) ) {
46
+ define( 'YIKES_MC_VERSION', '6.5.4' );
47
  }
48
 
49
  /**