Enabled product bundles

This commit is contained in:
Nedim Uka
2018-06-29 14:40:28 +02:00
parent e0514f7f57
commit b5475ff2f1
12004 changed files with 1694047 additions and 1610 deletions

View 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; ?>

View 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 );
}