MailChimp for WordPress - Version 3.1.10

Version Description

Download this release

Release Info

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

Code changes from version 3.1.9 to 3.1.10

CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
  Changelog
2
  =========
3
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  #### 3.1.9 - June 7, 2016
5
 
6
  **Fixes**
1
  Changelog
2
  =========
3
 
4
+ #### 3.1.10 - June 21, 2016
5
+
6
+ **Fixes**
7
+
8
+ - Styles Builder in Premium not building because of incorrect flag in core plugin.
9
+
10
+ **Improvements**
11
+
12
+ - Don't show position option for WooCommerce integration when sign-up is implicit.
13
+ - Improvements to form previewer logic.
14
+ - Make sure admin notifications are always shown exactly one time.
15
+
16
  #### 3.1.9 - June 7, 2016
17
 
18
  **Fixes**
includes/admin/class-admin-messages.php CHANGED
@@ -11,7 +11,12 @@ class MC4WP_Admin_Messages {
11
  /**
12
  * @var array
13
  */
14
- protected $queue = array();
 
 
 
 
 
15
 
16
  /**
17
  * Add hooks
@@ -21,6 +26,18 @@ class MC4WP_Admin_Messages {
21
  register_shutdown_function( array( $this, 'save' ) );
22
  }
23
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  /**
25
  * Flash a message (shows on next pageload)
26
  *
@@ -28,23 +45,27 @@ class MC4WP_Admin_Messages {
28
  * @param string $type
29
  */
30
  public function flash( $message, $type = 'success' ) {
31
- $this->queue[] = array(
 
32
  'text' => $message,
33
  'type' => $type
34
  );
 
35
  }
36
 
 
 
37
  /**
38
  * Show queued flash messages
39
  */
40
  public function show() {
41
- $messages = get_option( 'mc4wp_flash_messages', array() );
42
 
43
- foreach( $messages as $message ) {
44
  echo sprintf( '<div class="notice notice-%s is-dismissible"><p>%s</p></div>', $message['type'], $message['text'] );
45
  }
46
 
47
- update_option( 'mc4wp_flash_messages', array() );
48
  }
49
 
50
  /**
@@ -53,10 +74,8 @@ class MC4WP_Admin_Messages {
53
  * @hooked `shutdown`
54
  */
55
  public function save() {
56
-
57
- if( ! empty( $this->queue ) ) {
58
- update_option( 'mc4wp_flash_messages', $this->queue );
59
  }
60
-
61
  }
62
  }
11
  /**
12
  * @var array
13
  */
14
+ protected $bag;
15
+
16
+ /**
17
+ * @var bool
18
+ */
19
+ protected $dirty = false;
20
 
21
  /**
22
  * Add hooks
26
  register_shutdown_function( array( $this, 'save' ) );
27
  }
28
 
29
+ private function load() {
30
+ if( is_null( $this->bag ) ) {
31
+ $this->bag = get_option( 'mc4wp_flash_messages', array() );
32
+ }
33
+ }
34
+
35
+ // empty flash bag
36
+ private function reset() {
37
+ $this->bag = array();
38
+ $this->dirty = true;
39
+ }
40
+
41
  /**
42
  * Flash a message (shows on next pageload)
43
  *
45
  * @param string $type
46
  */
47
  public function flash( $message, $type = 'success' ) {
48
+ $this->load();
49
+ $this->bag[] = array(
50
  'text' => $message,
51
  'type' => $type
52
  );
53
+ $this->dirty = true;
54
  }
55
 
56
+
57
+
58
  /**
59
  * Show queued flash messages
60
  */
61
  public function show() {
62
+ $this->load();
63
 
64
+ foreach( $this->bag as $message ) {
65
  echo sprintf( '<div class="notice notice-%s is-dismissible"><p>%s</p></div>', $message['type'], $message['text'] );
66
  }
67
 
68
+ $this->reset();
69
  }
70
 
71
  /**
74
  * @hooked `shutdown`
75
  */
76
  public function save() {
77
+ if( $this->dirty ) {
78
+ update_option( 'mc4wp_flash_messages', $this->bag, false );
 
79
  }
 
80
  }
81
  }
includes/admin/class-admin.php CHANGED
@@ -169,7 +169,7 @@ class MC4WP_Admin {
169
  }
170
 
171
  // This means we're good!
172
- if( version_compare( $previous_version, 'MC4WP_VERSION', '==' ) ) {
173
  return false;
174
  }
175
 
169
  }
170
 
171
  // This means we're good!
172
+ if( version_compare( $previous_version, MC4WP_VERSION ) > -1 ) {
173
  return false;
174
  }
175
 
includes/admin/class-usage-tracking.php CHANGED
@@ -98,7 +98,7 @@ class MC4WP_Usage_Tracking {
98
  $data = $this->get_tracking_data();
99
 
100
  // send non-blocking request and be done with it
101
- $response = wp_remote_post( $this->tracking_url, array(
102
  'body' => json_encode( $data ),
103
  'headers' => array(
104
  'Content-Type' => 'application/json',
98
  $data = $this->get_tracking_data();
99
 
100
  // send non-blocking request and be done with it
101
+ wp_remote_post( $this->tracking_url, array(
102
  'body' => json_encode( $data ),
103
  'headers' => array(
104
  'Content-Type' => 'application/json',
includes/class-queue.php CHANGED
@@ -132,7 +132,7 @@ class MC4WP_Queue {
132
  return false;
133
  }
134
 
135
- $success = update_option( $this->option_name, $this->jobs );
136
 
137
  if( $success ) {
138
  $this->dirty = false;
132
  return false;
133
  }
134
 
135
+ $success = update_option( $this->option_name, $this->jobs, false );
136
 
137
  if( $success ) {
138
  $this->dirty = false;
includes/forms/class-admin.php CHANGED
@@ -296,18 +296,20 @@ class MC4WP_Forms_Admin {
296
  */
297
  public function prepare_form_preview() {
298
  $form_id = (int) $_POST['mc4wp_form_id'];
299
- $previewer = new MC4WP_Form_Previewer( $form_id, true );
300
 
301
  // get data
302
  $form_data = stripslashes_deep( $_POST['mc4wp_form'] );
303
- $form_data['ID'] = $previewer->get_preview_id();
304
- $form_data['status'] = 'draft';
 
305
 
306
- // save as new post & update preview id
307
- $preview_id = $this->save_form( $form_data );
308
- $previewer->set_preview_id( $preview_id );
309
 
310
  // redirect to preview
 
311
  wp_redirect( $previewer->get_preview_url() );
312
  exit;
313
  }
296
  */
297
  public function prepare_form_preview() {
298
  $form_id = (int) $_POST['mc4wp_form_id'];
299
+ $preview_id = (int) get_option( 'mc4wp_form_preview_id', 0 );
300
 
301
  // get data
302
  $form_data = stripslashes_deep( $_POST['mc4wp_form'] );
303
+ $form_data['ID'] = $preview_id;
304
+ $form_data['status'] = 'preview';
305
+ $real_preview_id = $this->save_form( $form_data );
306
 
307
+ if( $real_preview_id != $preview_id ) {
308
+ update_option( 'mc4wp_form_preview_id', $real_preview_id, false );
309
+ }
310
 
311
  // redirect to preview
312
+ $previewer = new MC4WP_Form_Previewer( $form_id, $real_preview_id );
313
  wp_redirect( $previewer->get_preview_url() );
314
  exit;
315
  }
includes/forms/class-form-previewer.php CHANGED
@@ -22,7 +22,7 @@ class MC4WP_Form_Previewer {
22
  /**
23
  * @var int
24
  */
25
- public $preview_form_id = 0;
26
 
27
  /**
28
  * @var MC4WP_Form
@@ -52,8 +52,8 @@ class MC4WP_Form_Previewer {
52
  define( 'MC4WP_FORM_IS_PREVIEW', true );
53
 
54
  $form_id = (int) $_GET[ 'form_id' ];
55
- $is_preview = isset( $_GET['preview'] );
56
- $instance = new self( $form_id, $is_preview );
57
 
58
  add_filter( 'mc4wp_form_stylesheets', array( $instance, 'set_stylesheet' ) );
59
  add_filter( 'mc4wp_form_css_classes', array( $instance, 'add_css_class' ), 10, 2 );
@@ -63,24 +63,20 @@ class MC4WP_Form_Previewer {
63
 
64
  /**
65
  * @param int $form_id
66
- * @param bool $is_preview
 
 
67
  */
68
- public function __construct( $form_id, $is_preview = false ) {
69
  $this->form_id = $form_id;
70
- $this->is_preview = $is_preview;
71
-
72
- // get the preview form
73
- if( $is_preview ) {
74
- $this->preview_form_id = $this->get_preview_id();
75
- }
76
 
77
- // if that failed, get the real form
78
- if( empty( $this->preview_form_id ) ) {
79
- $this->preview_form_id = $this->form_id;
80
  }
81
 
82
- // get form instance
83
- $this->form = mc4wp_get_form( $this->preview_form_id );
84
  }
85
 
86
  /**
@@ -108,26 +104,6 @@ class MC4WP_Form_Previewer {
108
  return $page_id;
109
  }
110
 
111
- /**
112
- * Sets or updates the ID for the preview form
113
- *
114
- * @param int $id
115
- *
116
- * @return bool
117
- */
118
- public function set_preview_id( $id ) {
119
- return update_option( 'mc4wp_form_preview_id', $id, false );
120
- }
121
-
122
- /**
123
- * Gets the ID of the preview form
124
- *
125
- * @return int
126
- */
127
- public function get_preview_id() {
128
- return get_option( 'mc4wp_form_preview_id', 0 );
129
- }
130
-
131
  /**
132
  * Gets the full URL for the form preview page
133
  *
@@ -140,7 +116,7 @@ class MC4WP_Form_Previewer {
140
  );
141
 
142
  if( $this->is_preview ) {
143
- $args['preview'] = '';
144
  }
145
 
146
  $preview_url = add_query_arg( $args, $base_url );
@@ -150,9 +126,9 @@ class MC4WP_Form_Previewer {
150
  /**
151
  * We only need the stylesheet of this form for this preview page.
152
  *
153
- * @param $stylesheets
154
  *
155
- * @return string
156
  */
157
  public function set_stylesheet( $stylesheets ) {
158
  return array( $this->form->get_stylesheet() );
@@ -186,6 +162,8 @@ class MC4WP_Form_Previewer {
186
  * Adds the real CSS class to the preview form-id
187
  *
188
  * @param array $classes
 
 
189
  * @return array
190
  */
191
  public function add_css_class( $classes, $form ) {
@@ -197,9 +175,10 @@ class MC4WP_Form_Previewer {
197
 
198
  // replace preview ID with actual form ID in all classes
199
  foreach( $classes as $key => $class ) {
200
- $classes[ $key ] = str_replace( $this->preview_form_id, $this->form_id, $class );
201
  }
202
 
203
  return $classes;
204
  }
 
205
  }
22
  /**
23
  * @var int
24
  */
25
+ public $preview_id = 0;
26
 
27
  /**
28
  * @var MC4WP_Form
52
  define( 'MC4WP_FORM_IS_PREVIEW', true );
53
 
54
  $form_id = (int) $_GET[ 'form_id' ];
55
+ $preview_id = isset( $_GET['preview_id'] ) ? (int) $_GET['preview_id'] : 0;
56
+ $instance = new self( $form_id, $preview_id );
57
 
58
  add_filter( 'mc4wp_form_stylesheets', array( $instance, 'set_stylesheet' ) );
59
  add_filter( 'mc4wp_form_css_classes', array( $instance, 'add_css_class' ), 10, 2 );
63
 
64
  /**
65
  * @param int $form_id
66
+ * @param int $preview_id
67
+ *
68
+ * @throws Exception
69
  */
70
+ public function __construct( $form_id, $preview_id = 0 ) {
71
  $this->form_id = $form_id;
72
+ $this->preview_id = $preview_id;
73
+ $this->is_preview = $preview_id > 0;
 
 
 
 
74
 
75
+ if( ! $this->is_preview ) {
76
+ $this->preview_id = $form_id;
 
77
  }
78
 
79
+ $this->form = mc4wp_get_form( $this->preview_id );
 
80
  }
81
 
82
  /**
104
  return $page_id;
105
  }
106
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  /**
108
  * Gets the full URL for the form preview page
109
  *
116
  );
117
 
118
  if( $this->is_preview ) {
119
+ $args['preview_id'] = $this->preview_id;
120
  }
121
 
122
  $preview_url = add_query_arg( $args, $base_url );
126
  /**
127
  * We only need the stylesheet of this form for this preview page.
128
  *
129
+ * @param array $stylesheets
130
  *
131
+ * @return array
132
  */
133
  public function set_stylesheet( $stylesheets ) {
134
  return array( $this->form->get_stylesheet() );
162
  * Adds the real CSS class to the preview form-id
163
  *
164
  * @param array $classes
165
+ * @param MC4WP_Form $form
166
+ *
167
  * @return array
168
  */
169
  public function add_css_class( $classes, $form ) {
175
 
176
  // replace preview ID with actual form ID in all classes
177
  foreach( $classes as $key => $class ) {
178
+ $classes[ $key ] = str_replace( $this->preview_id, $this->form_id, $class );
179
  }
180
 
181
  return $classes;
182
  }
183
+
184
  }
integrations/woocommerce/admin-after.php CHANGED
@@ -7,9 +7,13 @@ $position_options = array(
7
  'review_order_before_submit' => __( 'Before submit button', 'mailchimp-for-wp' ),
8
  );
9
 
 
 
 
10
  ?>
11
  <table class="form-table">
12
- <tr valign="top">
 
13
  <th scope="row">
14
  <?php _e( 'Position', 'mailchimp-for-wp' ); ?>
15
  </th>
7
  'review_order_before_submit' => __( 'Before submit button', 'mailchimp-for-wp' ),
8
  );
9
 
10
+
11
+ /** @var MC4WP_Integration $integration */
12
+
13
  ?>
14
  <table class="form-table">
15
+ <?php $config = array( 'element' => 'mc4wp_integrations['. $integration->slug .'][implicit]', 'value' => '0' ); ?>
16
+ <tr valign="top" data-showif="<?php echo esc_attr( json_encode( $config ) ); ?>">
17
  <th scope="row">
18
  <?php _e( 'Position', 'mailchimp-for-wp' ); ?>
19
  </th>
mailchimp-for-wp.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: MailChimp for WordPress
4
  Plugin URI: https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=plugins-page
5
  Description: MailChimp for WordPress by ibericode. Adds various highly effective sign-up methods to your site.
6
- Version: 3.1.9
7
  Author: ibericode
8
  Author URI: https://ibericode.com/
9
  Text Domain: mailchimp-for-wp
@@ -47,7 +47,7 @@ function __mc4wp_load_plugin() {
47
  }
48
 
49
  // bootstrap the core plugin
50
- define( 'MC4WP_VERSION', '3.1.9' );
51
  define( 'MC4WP_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
52
  define( 'MC4WP_PLUGIN_URL', plugins_url( '/' , __FILE__ ) );
53
  define( 'MC4WP_PLUGIN_FILE', __FILE__ );
3
  Plugin Name: MailChimp for WordPress
4
  Plugin URI: https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=plugins-page
5
  Description: MailChimp for WordPress by ibericode. Adds various highly effective sign-up methods to your site.
6
+ Version: 3.1.10
7
  Author: ibericode
8
  Author URI: https://ibericode.com/
9
  Text Domain: mailchimp-for-wp
47
  }
48
 
49
  // bootstrap the core plugin
50
+ define( 'MC4WP_VERSION', '3.1.10' );
51
  define( 'MC4WP_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
52
  define( 'MC4WP_PLUGIN_URL', plugins_url( '/' , __FILE__ ) );
53
  define( 'MC4WP_PLUGIN_FILE', __FILE__ );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://mc4wp.com/#utm_source=wp-plugin-repo&utm_medium=mailchimp-f
4
  Tags: mailchimp, mc4wp, email, marketing, newsletter, subscribe, widget, mc4wp, contact form 7, woocommerce, buddypress, ibericode, mailchimp forms, mailchimp integrations
5
  Requires at least: 3.8
6
  Tested up to: 4.5.2
7
- Stable tag: 3.1.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -184,6 +184,18 @@ MailChimp for WordPress is being developed on GitHub. If you want to collaborate
184
  == Changelog ==
185
 
186
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  #### 3.1.9 - June 7, 2016
188
 
189
  **Fixes**
4
  Tags: mailchimp, mc4wp, email, marketing, newsletter, subscribe, widget, mc4wp, contact form 7, woocommerce, buddypress, ibericode, mailchimp forms, mailchimp integrations
5
  Requires at least: 3.8
6
  Tested up to: 4.5.2
7
+ Stable tag: 3.1.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
184
  == Changelog ==
185
 
186
 
187
+ #### 3.1.10 - June 21, 2016
188
+
189
+ **Fixes**
190
+
191
+ - Styles Builder in Premium not building because of incorrect flag in core plugin.
192
+
193
+ **Improvements**
194
+
195
+ - Don't show position option for WooCommerce integration when sign-up is implicit.
196
+ - Improvements to form previewer logic.
197
+ - Make sure admin notifications are always shown exactly one time.
198
+
199
  #### 3.1.9 - June 7, 2016
200
 
201
  **Fixes**
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInitd6096447d9f52dc6619c147e3a5366d5::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit8bc957e284097098537f4d863c9f1a01::getLoader();
vendor/composer/autoload_classmap.php CHANGED
@@ -6,68 +6,6 @@ $vendorDir = dirname(dirname(__FILE__));
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
9
- 'Composer\\Installers\\AglInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AglInstaller.php',
10
- 'Composer\\Installers\\AimeosInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AimeosInstaller.php',
11
- 'Composer\\Installers\\AnnotateCmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php',
12
- 'Composer\\Installers\\AsgardInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AsgardInstaller.php',
13
- 'Composer\\Installers\\BaseInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BaseInstaller.php',
14
- 'Composer\\Installers\\BitrixInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BitrixInstaller.php',
15
- 'Composer\\Installers\\BonefishInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BonefishInstaller.php',
16
- 'Composer\\Installers\\CakePHPInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CakePHPInstaller.php',
17
- 'Composer\\Installers\\ChefInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ChefInstaller.php',
18
- 'Composer\\Installers\\ClanCatsFrameworkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php',
19
- 'Composer\\Installers\\CodeIgniterInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php',
20
- 'Composer\\Installers\\Concrete5Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Concrete5Installer.php',
21
- 'Composer\\Installers\\CraftInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CraftInstaller.php',
22
- 'Composer\\Installers\\CroogoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CroogoInstaller.php',
23
- 'Composer\\Installers\\DokuWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php',
24
- 'Composer\\Installers\\DolibarrInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php',
25
- 'Composer\\Installers\\DrupalInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DrupalInstaller.php',
26
- 'Composer\\Installers\\ElggInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ElggInstaller.php',
27
- 'Composer\\Installers\\FuelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelInstaller.php',
28
- 'Composer\\Installers\\FuelphpInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php',
29
- 'Composer\\Installers\\GravInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/GravInstaller.php',
30
- 'Composer\\Installers\\HuradInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/HuradInstaller.php',
31
- 'Composer\\Installers\\ImageCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php',
32
- 'Composer\\Installers\\Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Installer.php',
33
- 'Composer\\Installers\\JoomlaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/JoomlaInstaller.php',
34
- 'Composer\\Installers\\KirbyInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KirbyInstaller.php',
35
- 'Composer\\Installers\\KodiCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php',
36
- 'Composer\\Installers\\KohanaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KohanaInstaller.php',
37
- 'Composer\\Installers\\LaravelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LaravelInstaller.php',
38
- 'Composer\\Installers\\LithiumInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LithiumInstaller.php',
39
- 'Composer\\Installers\\MODULEWorkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php',
40
- 'Composer\\Installers\\MODXEvoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php',
41
- 'Composer\\Installers\\MagentoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MagentoInstaller.php',
42
- 'Composer\\Installers\\MakoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MakoInstaller.php',
43
- 'Composer\\Installers\\MauticInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MauticInstaller.php',
44
- 'Composer\\Installers\\MediaWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php',
45
- 'Composer\\Installers\\MicroweberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php',
46
- 'Composer\\Installers\\MoodleInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MoodleInstaller.php',
47
- 'Composer\\Installers\\OctoberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OctoberInstaller.php',
48
- 'Composer\\Installers\\OxidInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OxidInstaller.php',
49
- 'Composer\\Installers\\PPIInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PPIInstaller.php',
50
- 'Composer\\Installers\\PhpBBInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PhpBBInstaller.php',
51
- 'Composer\\Installers\\PimcoreInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PimcoreInstaller.php',
52
- 'Composer\\Installers\\PiwikInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PiwikInstaller.php',
53
- 'Composer\\Installers\\Plugin' => $vendorDir . '/composer/installers/src/Composer/Installers/Plugin.php',
54
- 'Composer\\Installers\\PrestashopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
55
- 'Composer\\Installers\\PuppetInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PuppetInstaller.php',
56
- 'Composer\\Installers\\RedaxoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php',
57
- 'Composer\\Installers\\RoundcubeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php',
58
- 'Composer\\Installers\\SMFInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SMFInstaller.php',
59
- 'Composer\\Installers\\ShopwareInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php',
60
- 'Composer\\Installers\\SilverStripeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php',
61
- 'Composer\\Installers\\Symfony1Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Symfony1Installer.php',
62
- 'Composer\\Installers\\TYPO3CmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php',
63
- 'Composer\\Installers\\TYPO3FlowInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php',
64
- 'Composer\\Installers\\TheliaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TheliaInstaller.php',
65
- 'Composer\\Installers\\TuskInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TuskInstaller.php',
66
- 'Composer\\Installers\\WHMCSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php',
67
- 'Composer\\Installers\\WolfCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php',
68
- 'Composer\\Installers\\WordPressInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WordPressInstaller.php',
69
- 'Composer\\Installers\\ZendInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
70
- 'Composer\\Installers\\ZikulaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
71
  'MC4WP_API' => $baseDir . '/includes/class-api.php',
72
  'MC4WP_Admin' => $baseDir . '/includes/admin/class-admin.php',
73
  'MC4WP_Admin_Ads' => $baseDir . '/includes/admin/class-ads.php',
@@ -122,6 +60,4 @@ return array(
122
  'MC4WP_Validator' => $baseDir . '/includes/class-validator.php',
123
  'MC4WP_Visitor_Tracking' => $baseDir . '/includes/class-visitor-tracking.php',
124
  'MC4WP_WooCommerce_Integration' => $baseDir . '/integrations/woocommerce/class-woocommerce.php',
125
- 'xrstf\\Composer52\\AutoloadGenerator' => $vendorDir . '/xrstf/composer-php52/lib/xrstf/Composer52/AutoloadGenerator.php',
126
- 'xrstf\\Composer52\\Generator' => $vendorDir . '/xrstf/composer-php52/lib/xrstf/Composer52/Generator.php',
127
  );
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  'MC4WP_API' => $baseDir . '/includes/class-api.php',
10
  'MC4WP_Admin' => $baseDir . '/includes/admin/class-admin.php',
11
  'MC4WP_Admin_Ads' => $baseDir . '/includes/admin/class-ads.php',
60
  'MC4WP_Validator' => $baseDir . '/includes/class-validator.php',
61
  'MC4WP_Visitor_Tracking' => $baseDir . '/includes/class-visitor-tracking.php',
62
  'MC4WP_WooCommerce_Integration' => $baseDir . '/integrations/woocommerce/class-woocommerce.php',
 
 
63
  );
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 ComposerAutoloaderInitd6096447d9f52dc6619c147e3a5366d5 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitd6096447d9f52dc6619c147e3a5366d5 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitd6096447d9f52dc6619c147e3a5366d5', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitd6096447d9f52dc6619c147e3a5366d5', '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 ComposerAutoloaderInit8bc957e284097098537f4d863c9f1a01 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit8bc957e284097098537f4d863c9f1a01', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit8bc957e284097098537f4d863c9f1a01', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);