Plugin Directory

Changeset 3330793


Ignore:
Timestamp:
07/20/2025 05:30:34 AM (6 months ago)
Author:
plugcrux
Message:

Release version 1.0.5 - Bug fixes, improvements, tested with WordPress 6.8.2

Location:
integrate-with-mailchimp
Files:
79 added
4 edited

Legend:

Unmodified
Added
Removed
  • integrate-with-mailchimp/trunk/integrate-with-mailchimp.php

    r3294168 r3330793  
    55 * Plugin URI: https://integrazo.com/products/integrate-with-mailchimp
    66 * Description: Automatically send contact form submissions from popular WordPress forms to Mailchimp and grow your business.
    7  * Version: 1.0.4
     7 * Version: 1.0.5
    88 * Author: Integrazo
    99 * Author URI: https://integrazo.com/
  • integrate-with-mailchimp/trunk/readme.txt

    r3294168 r3330793  
    33Tags: mailchimp integration, contact form 7 mailchimp, gravity forms mailchimp, wpforms mailchimp, elementor forms mailchimp
    44Requires at least: 6.0
    5 Tested up to: 6.8
     5Tested up to: 6.8.2
    66Requires PHP: 7.4
    7 Stable tag: 1.0.4
     7Stable tag: 1.0.5
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    430430== Changelog ==
    431431
     432= 1.0.5 = 
     433* Added: New FAQ about disabling specific integrations 
     434* Fixed: All error notices shown by WP error log or debug mode 
     435* Checked: Plugin tested with latest WordPress 6.8.2 and works fine 
     436
    432437= 1.0.4 = 
    433438**Fixed:** Issue where some Mailchimp fields were not displaying properly.
  • integrate-with-mailchimp/trunk/src/forms/submit-action.php

    r3294168 r3330793  
    495495                        continue;
    496496                    }
     497
    497498                    $crm_key = str_replace("iafwmc_cf_", "", $crm_key);
    498499                    $field_type = $mapping_info['field_type'];
  • integrate-with-mailchimp/trunk/src/product/mailchimp-crm.php

    r3294168 r3330793  
    198198        public function update_mailchimp_contact($api_key, $list_id, $record_data)
    199199        {
    200 
    201200            $dc = $this->get_mailchimp_dc($api_key);
    202201
     
    210209            // Prepare the subscriber data from `$record_data`
    211210            $data = $this->prepare_mailchimp_data($record_data);
    212 
    213211            // API request headers
    214212            $response = wp_remote_request($url, [
     
    230228            $status_code = wp_remote_retrieve_response_code($response);
    231229            $body = json_decode(wp_remote_retrieve_body($response), true);
    232 
    233230            if ($status_code === 401) {
    234231                return $this->create_error_response('AUTHENTICATION_FAILURE', $body);
     
    365362            // Ensure ADDRESS has all required sub-fields, even if some are missing
    366363            $data['merge_fields']['ADDRESS'] = [
    367                 'addr1' => $address_data['addr1'] ?? '',
    368                 'addr2' => $address_data['addr2'] ?? '',
    369                 'city' => $address_data['city'] ?? '',
    370                 'state' => $address_data['state'] ?? '',
    371                 'zip' => $address_data['zip'] ?? '',
     364                'addr1' => $address_data['addr1'] ?? '-',
     365                'addr2' => $address_data['addr2'] ?? '-',
     366                'city' => $address_data['city'] ?? '-',
     367                'state' => $address_data['state'] ?? '-',
     368                'zip' => $address_data['zip'] ?? '-',
    372369                'country' => $address_data['country'] ?? 'US' // Default country
    373370            ];
Note: See TracChangeset for help on using the changeset viewer.