Enabled product bundles
This commit is contained in:
5
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/mailchimp-woocommerce.php
Normal file → Executable file
5
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/mailchimp-woocommerce.php
Normal file → Executable file
@@ -16,7 +16,7 @@
|
||||
* Plugin Name: MailChimp for WooCommerce
|
||||
* Plugin URI: https://mailchimp.com/connect-your-store/
|
||||
* Description: MailChimp - WooCommerce plugin
|
||||
* Version: 2.1.7
|
||||
* Version: 2.1.8
|
||||
* Author: MailChimp
|
||||
* Author URI: https://mailchimp.com
|
||||
* License: GPL-2.0+
|
||||
@@ -37,9 +37,10 @@ if (!isset($mailchimp_woocommerce_spl_autoloader) || $mailchimp_woocommerce_spl_
|
||||
}
|
||||
|
||||
register_activation_hook( __FILE__, 'activate_mailchimp_woocommerce');
|
||||
add_action('plugins_loaded', 'mailchimp_on_all_plugins_loaded');
|
||||
add_action('plugins_loaded', 'mailchimp_on_all_plugins_loaded', 12);
|
||||
|
||||
if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
|
||||
$forwarded_address = explode(',',$_SERVER['HTTP_X_FORWARDED_FOR']);
|
||||
$_SERVER['REMOTE_ADDR'] = $forwarded_address[0];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user