Plugin Directory

Changeset 3470352


Ignore:
Timestamp:
02/26/2026 02:06:19 PM (4 weeks ago)
Author:
mailerlite
Message:

Update to version 3.1.11 from GitHub

Location:
woo-mailerlite
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • woo-mailerlite/tags/3.1.11/README.txt

    r3462363 r3470352  
    66Tested up to: 6.8.2
    77Requires PHP: 7.2.5
    8 Stable tag: 3.1.10
     8Stable tag: 3.1.11
    99License: GPLv3 or later
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    8585== Changelog ==
    8686
     87= 3.1.11 (26th February 2026) =
     88* Bug fixes
     89
    8790= 3.1.10 (16th February 2026) =
    8891* Security improvements
  • woo-mailerlite/tags/3.1.11/admin/controllers/WooMailerLiteAdminSettingsController.php

    r3415073 r3470352  
    7676        if (did_action('woocommerce_update_product') === 1) {
    7777
     78            if (defined('ICL_SITEPRESS_VERSION') && isset($_POST['icl_translation_of']) && !empty($_POST['icl_translation_of'])) {
     79                return true;
     80            }
     81
    7882            $product = $this->resolveResource(WooMailerLiteProduct::class, $productId);
    7983            $shopId = WooMailerLiteOptions::get('shopId');
     
    8589                    $product->tracked = true;
    8690                    $product->save();
    87                 }
     91                } else {
     92                    WooMailerLiteLog()->error('product:sync:failed', [
     93                        'product_id' => $product->resource_id,
     94                        'response' => $response
     95                    ]);
     96                }
     97
    8898                $ignoredProducts = WooMailerLiteOptions::get('ignored_products', []);
    8999                if ($this->request('ml_ignore_product')) {
     
    113123                    $this->apiClient()->syncProduct(WooMailerLiteOptions::get('shopId'), $product->toArray(), true);
    114124                }
    115             }
     125            } else {
     126                WooMailerLiteLog()->error('product:update:not_found', [
     127                    'product_id' => $productId
     128                ]);
     129            }
     130
    116131            return true;
    117132        }
  • woo-mailerlite/tags/3.1.11/woo-mailerlite.php

    r3462363 r3470352  
    1616 * Plugin URI:        https://mailerlite.com
    1717 * Description:       Official MailerLite integration for WooCommerce. Track sales and campaign ROI, import products details, automate emails based on purchases and seamlessly add your customers to your email marketing lists via WooCommerce's checkout process.
    18  * Version:           3.1.10
     18 * Version:           3.1.11
    1919 * Author:            MailerLite
    2020 * Author URI:        https://mailerlite.com
     
    4040 * Update when you release new versions.
    4141 */
    42 define( 'WOO_MAILERLITE_VERSION', '3.1.10' );
     42define( 'WOO_MAILERLITE_VERSION', '3.1.11' );
    4343
    4444define('WOO_MAILERLITE_ASYNC_JOBS', false);
  • woo-mailerlite/trunk/README.txt

    r3462363 r3470352  
    66Tested up to: 6.8.2
    77Requires PHP: 7.2.5
    8 Stable tag: 3.1.10
     8Stable tag: 3.1.11
    99License: GPLv3 or later
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    8585== Changelog ==
    8686
     87= 3.1.11 (26th February 2026) =
     88* Bug fixes
     89
    8790= 3.1.10 (16th February 2026) =
    8891* Security improvements
  • woo-mailerlite/trunk/admin/controllers/WooMailerLiteAdminSettingsController.php

    r3415073 r3470352  
    7676        if (did_action('woocommerce_update_product') === 1) {
    7777
     78            if (defined('ICL_SITEPRESS_VERSION') && isset($_POST['icl_translation_of']) && !empty($_POST['icl_translation_of'])) {
     79                return true;
     80            }
     81
    7882            $product = $this->resolveResource(WooMailerLiteProduct::class, $productId);
    7983            $shopId = WooMailerLiteOptions::get('shopId');
     
    8589                    $product->tracked = true;
    8690                    $product->save();
    87                 }
     91                } else {
     92                    WooMailerLiteLog()->error('product:sync:failed', [
     93                        'product_id' => $product->resource_id,
     94                        'response' => $response
     95                    ]);
     96                }
     97
    8898                $ignoredProducts = WooMailerLiteOptions::get('ignored_products', []);
    8999                if ($this->request('ml_ignore_product')) {
     
    113123                    $this->apiClient()->syncProduct(WooMailerLiteOptions::get('shopId'), $product->toArray(), true);
    114124                }
    115             }
     125            } else {
     126                WooMailerLiteLog()->error('product:update:not_found', [
     127                    'product_id' => $productId
     128                ]);
     129            }
     130
    116131            return true;
    117132        }
  • woo-mailerlite/trunk/woo-mailerlite.php

    r3462363 r3470352  
    1616 * Plugin URI:        https://mailerlite.com
    1717 * Description:       Official MailerLite integration for WooCommerce. Track sales and campaign ROI, import products details, automate emails based on purchases and seamlessly add your customers to your email marketing lists via WooCommerce's checkout process.
    18  * Version:           3.1.10
     18 * Version:           3.1.11
    1919 * Author:            MailerLite
    2020 * Author URI:        https://mailerlite.com
     
    4040 * Update when you release new versions.
    4141 */
    42 define( 'WOO_MAILERLITE_VERSION', '3.1.10' );
     42define( 'WOO_MAILERLITE_VERSION', '3.1.11' );
    4343
    4444define('WOO_MAILERLITE_ASYNC_JOBS', false);
Note: See TracChangeset for help on using the changeset viewer.