MailChimp for WordPress - Version 2.3.4

Version Description

  • May 29, 2015 =

Fixes

  • Issue with GROUPINGS not being sent to MailChimp

Improvements

  • Code preview in Field Builder is now read-only
Download this release

Release Info

Developer DvanKooten
Plugin Icon 128x128 MailChimp for WordPress
Version 2.3.4
Comparing to
See all releases

Code changes from version 2.3.3 to 2.3.4

Files changed (44) hide show
  1. includes/class-request.php +14 -12
  2. includes/views/parts/admin-field-wizard.php +1 -1
  3. languages/mailchimp-for-wp-af_ZA.mo +0 -0
  4. languages/mailchimp-for-wp-bg_BG.mo +0 -0
  5. languages/mailchimp-for-wp-cs_CZ.mo +0 -0
  6. languages/mailchimp-for-wp-da_DK.mo +0 -0
  7. languages/mailchimp-for-wp-de_CH.mo +0 -0
  8. languages/mailchimp-for-wp-de_DE.mo +0 -0
  9. languages/mailchimp-for-wp-el_GR.mo +0 -0
  10. languages/mailchimp-for-wp-es.mo +0 -0
  11. languages/mailchimp-for-wp-es_ES.mo +0 -0
  12. languages/mailchimp-for-wp-es_PR.mo +0 -0
  13. languages/mailchimp-for-wp-fi_FI.mo +0 -0
  14. languages/mailchimp-for-wp-fr_FR.mo +0 -0
  15. languages/mailchimp-for-wp-gl_ES.mo +0 -0
  16. languages/mailchimp-for-wp-he_IL.mo +0 -0
  17. languages/mailchimp-for-wp-hu_HU.mo +0 -0
  18. languages/mailchimp-for-wp-id_ID.mo +0 -0
  19. languages/mailchimp-for-wp-it_IT.mo +0 -0
  20. languages/mailchimp-for-wp-ja_JP.mo +0 -0
  21. languages/mailchimp-for-wp-lt_LT.mo +0 -0
  22. languages/mailchimp-for-wp-ms_MY.mo +0 -0
  23. languages/mailchimp-for-wp-nl_NL.mo +0 -0
  24. languages/mailchimp-for-wp-no_NO.mo +0 -0
  25. languages/mailchimp-for-wp-pl_PL.mo +0 -0
  26. languages/mailchimp-for-wp-pt_BR.mo +0 -0
  27. languages/mailchimp-for-wp-pt_PT.mo +0 -0
  28. languages/mailchimp-for-wp-ro_RO.mo +0 -0
  29. languages/mailchimp-for-wp-ru_RU.mo +0 -0
  30. languages/mailchimp-for-wp-sk_SK.mo +0 -0
  31. languages/mailchimp-for-wp-sl_SI.mo +0 -0
  32. languages/mailchimp-for-wp-sr_RS.mo +0 -0
  33. languages/mailchimp-for-wp-sv_SE.mo +0 -0
  34. languages/mailchimp-for-wp-sw_KE.mo +0 -0
  35. languages/mailchimp-for-wp-th_TH.mo +0 -0
  36. languages/mailchimp-for-wp-tr_TR.mo +0 -0
  37. languages/mailchimp-for-wp-vi_VN.mo +0 -0
  38. languages/mailchimp-for-wp-zh_CN.mo +0 -0
  39. languages/mailchimp-for-wp-zh_HK.mo +0 -0
  40. languages/mailchimp-for-wp-zh_TW.mo +0 -0
  41. mailchimp-for-wp.php +2 -2
  42. readme.txt +37 -38
  43. vendor/autoload_52.php +1 -1
  44. vendor/composer/autoload_real_52.php +3 -3
includes/class-request.php CHANGED
@@ -97,7 +97,7 @@ abstract class MC4WP_Request implements iMC4WP_Request {
97
  $data = stripslashes_deep( $data );
98
 
99
  // sanitize all scalar values
100
- $data = $this->sanitize_data_array( $data );
101
 
102
  /**
103
  * @filter `mc4wp_form_data`
@@ -109,22 +109,24 @@ abstract class MC4WP_Request implements iMC4WP_Request {
109
  }
110
 
111
  /**
112
- * @param $dirty
113
  *
114
- * @return array
115
  */
116
- public function sanitize_data_array( $dirty ) {
117
- $clean = array();
118
-
119
- foreach( $dirty as $field => $value ) {
120
- if ( is_scalar( $value ) ) {
121
- $clean[ $field ] = sanitize_text_field( $value );
122
- } elseif( is_array( $value ) ) {
123
- $clean[ $field ] = array_map( array( $this, 'sanitize_data_array' ), $value );
 
 
124
  }
125
  }
126
 
127
- return $clean;
128
  }
129
 
130
  /**
97
  $data = stripslashes_deep( $data );
98
 
99
  // sanitize all scalar values
100
+ $data = $this->sanitize_deep( $data );
101
 
102
  /**
103
  * @filter `mc4wp_form_data`
109
  }
110
 
111
  /**
112
+ * @param $value
113
  *
114
+ * @return array|string
115
  */
116
+ public function sanitize_deep( $value ) {
117
+
118
+ if ( is_scalar( $value ) ) {
119
+ $value = sanitize_text_field( $value );
120
+ } elseif( is_array( $value ) ) {
121
+ $value = array_map( array( $this, 'sanitize_deep' ), $value );
122
+ } elseif ( is_object($value) ) {
123
+ $vars = get_object_vars( $value );
124
+ foreach ($vars as $key=>$data) {
125
+ $value->{$key} = $this->sanitize_deep( $data );
126
  }
127
  }
128
 
129
+ return $value;
130
  }
131
 
132
  /**
includes/views/parts/admin-field-wizard.php CHANGED
@@ -60,7 +60,7 @@ if( ! defined( 'MC4WP_LITE_VERSION' ) ) {
60
 
61
  <p>
62
  <label for="mc4wp-fw-preview"><?php _e( 'Generated HTML', 'mailchimp-for-wp' ); ?></label>
63
- <textarea class="widefat" id="mc4wp-fw-preview" rows="5"></textarea>
64
  </p>
65
 
66
  </div>
60
 
61
  <p>
62
  <label for="mc4wp-fw-preview"><?php _e( 'Generated HTML', 'mailchimp-for-wp' ); ?></label>
63
+ <textarea class="widefat" id="mc4wp-fw-preview" rows="5" readonly></textarea>
64
  </p>
65
 
66
  </div>
languages/mailchimp-for-wp-af_ZA.mo ADDED
Binary file
languages/mailchimp-for-wp-bg_BG.mo ADDED
Binary file
languages/mailchimp-for-wp-cs_CZ.mo ADDED
Binary file
languages/mailchimp-for-wp-da_DK.mo ADDED
Binary file
languages/mailchimp-for-wp-de_CH.mo ADDED
Binary file
languages/mailchimp-for-wp-de_DE.mo CHANGED
Binary file
languages/mailchimp-for-wp-el_GR.mo ADDED
Binary file
languages/mailchimp-for-wp-es.mo ADDED
Binary file
languages/mailchimp-for-wp-es_ES.mo CHANGED
Binary file
languages/mailchimp-for-wp-es_PR.mo ADDED
Binary file
languages/mailchimp-for-wp-fi_FI.mo ADDED
Binary file
languages/mailchimp-for-wp-fr_FR.mo CHANGED
Binary file
languages/mailchimp-for-wp-gl_ES.mo ADDED
Binary file
languages/mailchimp-for-wp-he_IL.mo ADDED
Binary file
languages/mailchimp-for-wp-hu_HU.mo CHANGED
Binary file
languages/mailchimp-for-wp-id_ID.mo ADDED
Binary file
languages/mailchimp-for-wp-it_IT.mo CHANGED
Binary file
languages/mailchimp-for-wp-ja_JP.mo ADDED
Binary file
languages/mailchimp-for-wp-lt_LT.mo ADDED
Binary file
languages/mailchimp-for-wp-ms_MY.mo ADDED
Binary file
languages/mailchimp-for-wp-nl_NL.mo CHANGED
Binary file
languages/mailchimp-for-wp-no_NO.mo ADDED
Binary file
languages/mailchimp-for-wp-pl_PL.mo ADDED
Binary file
languages/mailchimp-for-wp-pt_BR.mo CHANGED
Binary file
languages/mailchimp-for-wp-pt_PT.mo ADDED
Binary file
languages/mailchimp-for-wp-ro_RO.mo ADDED
Binary file
languages/mailchimp-for-wp-ru_RU.mo ADDED
Binary file
languages/mailchimp-for-wp-sk_SK.mo CHANGED
Binary file
languages/mailchimp-for-wp-sl_SI.mo ADDED
Binary file
languages/mailchimp-for-wp-sr_RS.mo ADDED
Binary file
languages/mailchimp-for-wp-sv_SE.mo ADDED
Binary file
languages/mailchimp-for-wp-sw_KE.mo ADDED
Binary file
languages/mailchimp-for-wp-th_TH.mo ADDED
Binary file
languages/mailchimp-for-wp-tr_TR.mo ADDED
Binary file
languages/mailchimp-for-wp-vi_VN.mo ADDED
Binary file
languages/mailchimp-for-wp-zh_CN.mo ADDED
Binary file
languages/mailchimp-for-wp-zh_HK.mo ADDED
Binary file
languages/mailchimp-for-wp-zh_TW.mo ADDED
Binary file
mailchimp-for-wp.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: MailChimp for WordPress Lite
4
  Plugin URI: https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=plugins-page
5
  Description: Lite version of MailChimp for WordPress. Adds various sign-up methods to your website.
6
- Version: 2.3.3
7
  Author: ibericode
8
  Author URI: http://ibericode.com/
9
  Text Domain: mailchimp-for-wp
@@ -48,7 +48,7 @@ function mc4wp_load_plugin() {
48
  }
49
 
50
  // bootstrap the lite plugin
51
- define( 'MC4WP_LITE_VERSION', '2.3.3' );
52
  define( 'MC4WP_LITE_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
53
  define( 'MC4WP_LITE_PLUGIN_URL', plugins_url( '/' , __FILE__ ) );
54
  define( 'MC4WP_LITE_PLUGIN_FILE', __FILE__ );
3
  Plugin Name: MailChimp for WordPress Lite
4
  Plugin URI: https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=plugins-page
5
  Description: Lite version of MailChimp for WordPress. Adds various sign-up methods to your website.
6
+ Version: 2.3.4
7
  Author: ibericode
8
  Author URI: http://ibericode.com/
9
  Text Domain: mailchimp-for-wp
48
  }
49
 
50
  // bootstrap the lite plugin
51
+ define( 'MC4WP_LITE_VERSION', '2.3.4' );
52
  define( 'MC4WP_LITE_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
53
  define( 'MC4WP_LITE_PLUGIN_URL', plugins_url( '/' , __FILE__ ) );
54
  define( 'MC4WP_LITE_PLUGIN_FILE', __FILE__ );
readme.txt CHANGED
@@ -1,51 +1,41 @@
1
  === MailChimp for WordPress ===
2
- Contributors: ibericode, DvanKooten, iMazed, hchouhan
3
  Donate link: https://mc4wp.com/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=donate-link
4
- Tags: mailchimp,newsletter,sign-up,contact form 7,woocommerce,buddypress,widget,form
5
  Requires at least: 3.7
6
  Tested up to: 4.2.2
7
- Stable tag: 2.3.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- The best MailChimp plugin to get more email subscribers. Easily add MailChimp sign-up forms and sign-up checkboxes to your WordPress site.
12
 
13
  == Description ==
14
 
15
  = MailChimp for WordPress =
16
 
17
- *Adding sign-up methods for your MailChimp lists to your WordPress site should be easy. With this plugin, it finally is.*
 
 
18
 
19
- MailChimp for WordPress lets you create a highly customizable sign-up form. You can show the form anywhere you want using a simple shortcode, widget or template function. You can also add MailChimp sign-up checkboxes to various other forms on your site, like your comment or contact forms.
 
20
 
21
- = MailChimp Sign-Up Forms =
22
- Easily create sign-up forms for your MailChimp list(s). Display the form anywhere on your site using the built-in shortcode, widget or PHP function.
 
 
23
 
24
- = Newsletter Sign-Up Checkboxes =
25
- Add MailChimp sign-up checkboxes to *any* form on your site. The plugin comes with built-in integration for your comment form, Contact Form 7, WooCommerce checkout and many more so people can subscribe to your MailChimp list from any form on your site.
26
-
27
- **MailChimp for WordPress, at a glance..**
28
-
29
- - Simple. All you need is your MailChimp API key.
30
- - Customizable. Have the MailChimp form fields generated for you or use your own customized HTML.
31
- - Beautiful. Choose one of the default form themes or use your own styles.
32
- - Integrates with Contact Form 7, WooCommerce checkout and other popular form plugins.
33
- - Developer friendly.
34
 
35
  [Installation](https://wordpress.org/plugins/mailchimp-for-wp/installation/) | [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-for-wp/faq/) | [Screenshots](https://wordpress.org/plugins/mailchimp-for-wp/screenshots/)
36
 
37
- > #### MailChimp for WordPress Pro
38
- > This plugin has a premium version which comes with the following features.<br />
39
- >
40
- > - As many forms as you want, each subscribing to one or multiple MailChimp lists.<br />
41
- > - AJAX Forms. Forms do not require a full page reload.<br />
42
- > - Visual Styles Builder, create your own style without the need for code.<br />
43
- > - Custom Color Themes, a quick way to blend-in with your theme.<br />
44
- > - Log & Statistics, providing you with useful insights like your new MailChimp subscribers came from.<br />
45
- > - Priority support over email.<br />
46
- >
47
- > [Upgrade to MailChimp for WordPress Pro](https://mc4wp.com/features/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=after-features-link)
48
-
49
  **Add-on plugins**
50
 
51
  There are several add-on plugins available for MailChimp for WordPress, which help you get even more out of your site.
@@ -64,26 +54,25 @@ Bug reports for [MailChimp for WordPress are welcomed on GitHub](https://github.
64
 
65
  **More information**
66
 
67
- - [MailChimp for WordPress Pro](https://mc4wp.com/), containing [additional features](https://mc4wp.com/features/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=more-info-link).
68
  - [Translate the MailChimp for WordPress plugin into your language](https://www.transifex.com/projects/p/mailchimp-for-wordpress/)
69
- - Developers; follow or contribute to the [MailChimp for WP plugin on GitHub](https://github.com/ibericode/mailchimp-for-wordpress)
70
  - Other [WordPress plugins](https://dannyvankooten.com/wordpress-plugins/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=more-info-link) by [Danny van Kooten](https://dannyvankooten.com#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=more-info-link)
71
- - [@DannyvanKooten](https://twitter.com/dannyvankooten) on Twitter
72
 
73
  **What is MailChimp?**
74
 
75
- As this plugin is an integration for MailChimp, you need to have a MailChimp account to be able to use it. MailChimp is a newsletter service that allows you to send out email campaigns to lists of email subscribers.
76
 
77
- MailChimp is free for lists up to 2000 subscribers, which is why MailChimp is the go-to choice for small businesses or starting entrepeneurs. That doesn't mean MailChimp is not a great choice for bigger businesses though.
78
-
79
- If you do not yet have a MailChimp account, [registering for MailChimp is free and only takes you about 30 seconds](https://login.mailchimp.com/signup).
80
 
81
  == Installation ==
82
 
83
  = Installing the plugin =
84
  1. In your WordPress admin panel, go to *Plugins > New Plugin*, search for **MailChimp for WordPress** and click "*Install now*"
85
  1. Alternatively, download the plugin and upload the contents of `mailchimp-for-wp.zip` to your plugins directory, which usually is `/wp-content/plugins/`.
86
- 1. Activate the plugin
 
87
  1. Set [your MailChimp API key](https://admin.mailchimp.com/account/api) in the plugin settings.
88
 
89
  = Configuring Sign-Up Checkboxes =
@@ -266,6 +255,16 @@ Development of the plugin happens on GitHub: [dannyvankooten/mailchimp-for-wordp
266
 
267
  == Changelog ==
268
 
 
 
 
 
 
 
 
 
 
 
269
  = 2.3.3 - May 27, 2015 =
270
 
271
  **Fixes**
1
  === MailChimp for WordPress ===
2
+ Contributors: Ibericode, DvanKooten, iMazed, hchouhan
3
  Donate link: https://mc4wp.com/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=donate-link
4
+ Tags: mailchimp,newsletter,sign-up,contact form 7,woocommerce,buddypress,mc4wp
5
  Requires at least: 3.7
6
  Tested up to: 4.2.2
7
+ Stable tag: 2.3.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ MailChimp for WordPress, the absolute best. Add subscribers to your MailChimp lists from your WordPress site, with ease.
12
 
13
  == Description ==
14
 
15
  = MailChimp for WordPress =
16
 
17
+ *Adding sign-up methods for your MailChimp lists to your WordPress site should be easy. With this plugin, it finally is.*
18
+
19
+ MailChimp for WordPress provides you with various methods to add subscribers to your MailChimp lists. You can create good looking opt-in forms or integrate with any other form on your site, like your comment form or WooCommerce checkout.
20
 
21
+ = MailChimp Forms =
22
+ This plugin allows you to create various sign-up forms for your MailChimp lists. You can display the forms anywhere you like using the `[mc4wp_form]` shortcode, the built-in widget or directly from your theme code.
23
 
24
+ = Subscribe to MailChimp lists from other forms =
25
+ MailChimp for WordPress is built to integrate with any other form on your site. You can add a checkbox to your comment form, contact form or WooCommerce checkout asking your visitors to subscribe to your MailChimp list.
26
+
27
+ Those 1-click opt-in methods are a guaranteed & proven way to grow your MailChimp lists by a staggering amount.
28
 
29
+ **MailChimp for WordPress features, at a glance..**
30
+
31
+ - Very simple to configure, connect your MailChimp account and you're all set!
32
+ - User friendly & mobile optimized sign-up forms.
33
+ - Integrates with many popular plugins: Contact Form 7, WooCommerce, BuddyPress and more.
34
+ - Customizable. You can have the fields generated by the plugin or use your own custom HTML.
35
+ - Developer friendly.
 
 
 
36
 
37
  [Installation](https://wordpress.org/plugins/mailchimp-for-wp/installation/) | [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-for-wp/faq/) | [Screenshots](https://wordpress.org/plugins/mailchimp-for-wp/screenshots/)
38
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  **Add-on plugins**
40
 
41
  There are several add-on plugins available for MailChimp for WordPress, which help you get even more out of your site.
54
 
55
  **More information**
56
 
57
+ - [MailChimp for WordPress Pro](https://mc4wp.com/), containing even more [additional features](https://mc4wp.com/features/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=more-info-link).
58
  - [Translate the MailChimp for WordPress plugin into your language](https://www.transifex.com/projects/p/mailchimp-for-wordpress/)
59
+ - Developers; follow or contribute to the [MailChimp for WordPress plugin on GitHub](https://github.com/ibericode/mailchimp-for-wordpress)
60
  - Other [WordPress plugins](https://dannyvankooten.com/wordpress-plugins/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=more-info-link) by [Danny van Kooten](https://dannyvankooten.com#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=more-info-link)
61
+ - [@ibericode](https://twitter.com/ibericode) on Twitter
62
 
63
  **What is MailChimp?**
64
 
65
+ MailChimp for WordPress is a plugin that connects your WordPress site to MailChimp, so you will need to have a MailChimp account first. MailChimp is a newsletter service that allows you to send out email campaigns to a list of email subscribers. MailChimp is absolutely free for lists up to 2000 subscribers, which is why it is the go-to choice for small businesses or starting entrepreneurs. That doesn't mean MailChimp is not a great choice for bigger businesses though.
66
 
67
+ If you do not yet have a MailChimp account, [creating one is 100% free and only takes you about 30 seconds](https://mc4wp.com/out/mailchimp).
 
 
68
 
69
  == Installation ==
70
 
71
  = Installing the plugin =
72
  1. In your WordPress admin panel, go to *Plugins > New Plugin*, search for **MailChimp for WordPress** and click "*Install now*"
73
  1. Alternatively, download the plugin and upload the contents of `mailchimp-for-wp.zip` to your plugins directory, which usually is `/wp-content/plugins/`.
74
+ 1. Activate the plugin
75
+ 1. If you don't have a MailChimp account yet, [create one for free](https://mc4wp.com/out/mailchimp).
76
  1. Set [your MailChimp API key](https://admin.mailchimp.com/account/api) in the plugin settings.
77
 
78
  = Configuring Sign-Up Checkboxes =
255
 
256
  == Changelog ==
257
 
258
+ = 2.3.4 - May 29, 2015 =
259
+
260
+ **Fixes**
261
+
262
+ - Issue with GROUPINGS not being sent to MailChimp
263
+
264
+ **Improvements**
265
+
266
+ - Code preview in Field Builder is now read-only
267
+
268
  = 2.3.3 - May 27, 2015 =
269
 
270
  **Fixes**
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInit356e0fc672378279ef7f2ddfb34f10b8::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit740ce0f6414d1716cd8da88685594df5::getLoader();
vendor/composer/autoload_real_52.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
- class ComposerAutoloaderInit356e0fc672378279ef7f2ddfb34f10b8 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit356e0fc672378279ef7f2ddfb34f10b8 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit356e0fc672378279ef7f2ddfb34f10b8', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit356e0fc672378279ef7f2ddfb34f10b8', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInit740ce0f6414d1716cd8da88685594df5 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit740ce0f6414d1716cd8da88685594df5', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit740ce0f6414d1716cd8da88685594df5', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);