Enabled product bundles
This commit is contained in:
14
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/class-mailchimp-woocommerce-admin.php
Normal file → Executable file
14
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/class-mailchimp-woocommerce-admin.php
Normal file → Executable file
@@ -226,14 +226,20 @@ class MailChimp_WooCommerce_Admin extends MailChimp_WooCommerce_Options {
|
||||
|
||||
case 'logs':
|
||||
|
||||
if (isset($_POST['mc_action']) && in_array($_POST['mc_action'], array('view_log', 'remove_log'))) {
|
||||
wp_redirect('options-general.php?page=mailchimp-woocommerce&tab=logs');
|
||||
exit();
|
||||
if (isset($_POST['log_file']) && !empty($_POST['log_file'])) {
|
||||
set_site_transient('mailchimp-woocommerce-view-log-file', $_POST['log_file'], 30);
|
||||
}
|
||||
|
||||
|
||||
$data = array(
|
||||
'mailchimp_logging' => isset($input['mailchimp_logging']) ? $input['mailchimp_logging'] : 'none',
|
||||
);
|
||||
|
||||
if (isset($_POST['mc_action']) && in_array($_POST['mc_action'], array('view_log', 'remove_log'))) {
|
||||
$path = 'options-general.php?page=mailchimp-woocommerce&tab=logs';
|
||||
wp_redirect($path);
|
||||
exit();
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/css/mailchimp-woocommerce-admin.css
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/css/mailchimp-woocommerce-admin.css
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/index.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/index.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/js/mailchimp-woocommerce-admin.js
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/js/mailchimp-woocommerce-admin.js
Normal file → Executable file
1
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/mailchimp-woocommerce-admin-tabs.php
Normal file → Executable file
1
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/mailchimp-woocommerce-admin-tabs.php
Normal file → Executable file
@@ -137,6 +137,7 @@ if (isset($options['mailchimp_api_key']) && $handler->hasValidApiKey()) {
|
||||
<li>Order and customer information will not sync if they contain an Amazon or generic email address.</li>
|
||||
<li>Need help to connect your store? Visit the MailChimp <a href="http://kb.mailchimp.com/integrations/e-commerce/connect-or-disconnect-mailchimp-for-woocommerce/" target="_blank">Knowledge Base</a>.</li>
|
||||
<li>Want to tell us how we're doing? <a href="https://wordpress.org/support/plugin/mailchimp-for-woocommerce/reviews/" target="_blank">Leave a review on Wordpress.org</a>.</li>
|
||||
<li>By using this plugin, MailChimp will process customer information in accordance with their <a href="https://mailchimp.com/legal/privacy/ " target="_blank">Privacy Policy</a>.</li>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/tabs/api_key.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/tabs/api_key.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/tabs/campaign_defaults.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/tabs/campaign_defaults.php
Normal file → Executable file
11
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/tabs/logs.php
Normal file → Executable file
11
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/tabs/logs.php
Normal file → Executable file
@@ -17,8 +17,15 @@ if (!empty($files)) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!empty($_REQUEST['log_file']) && isset($logs[sanitize_title( $_REQUEST['log_file'])])) {
|
||||
$viewed_log = $logs[sanitize_title($_REQUEST['log_file'])];
|
||||
|
||||
$requested_log_file = get_site_transient('mailchimp-woocommerce-view-log-file');
|
||||
delete_site_transient('mailchimp-woocommerce-view-log-file');
|
||||
|
||||
if (empty($requested_log_file)) {
|
||||
$requested_log_file = !empty($_REQUEST['log_file']) ? $_REQUEST['log_file'] : false;
|
||||
}
|
||||
if (!empty($requested_log_file) && isset($logs[sanitize_title($requested_log_file)])) {
|
||||
$viewed_log = $logs[sanitize_title($requested_log_file)];
|
||||
} elseif (!empty($logs)) {
|
||||
$viewed_log = current( $logs );
|
||||
}
|
||||
|
||||
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/tabs/newsletter_settings.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/tabs/newsletter_settings.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/tabs/notices.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/tabs/notices.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/tabs/store_info.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/tabs/store_info.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/tabs/store_sync.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/mailchimp-for-woocommerce/admin/partials/tabs/store_sync.php
Normal file → Executable file
Reference in New Issue
Block a user