Plugin Directory

Changeset 2896551


Ignore:
Timestamp:
04/10/2023 10:53:21 AM (3 years ago)
Author:
sendsmaily
Message:

Release 1.11.1, see readme.txt for the changelog.

Location:
smaily-for-woocommerce
Files:
24 edited
1 copied

Legend:

Unmodified
Added
Removed
  • smaily-for-woocommerce/tags/1.11.1/inc/Base/Cron.php

    r2244370 r2896551  
    7575                $wordpress_unsubscriber = get_user_by( 'email', $user_email );
    7676                // set user subscribed status to 0.
    77                 if ( isset( $wordpress_unsubscriber ) ) {
     77                if ( ! empty( $wordpress_unsubscriber ) ) {
    7878                    update_user_meta( $wordpress_unsubscriber->ID, 'user_newsletter', 0, 1 );
    7979                }
     
    139139            $customer_data = get_userdata( $customer_id );
    140140            $customer      = [
    141                 'first_name' => $customer_data->first_name ? $customer_data->first_name : '',
    142                 'last_name'  => $customer_data->last_name ? $customer_data->last_name : '',
    143                 'email'      => $customer_data->user_email ? $customer_data->user_email : '',
     141                'first_name' => ! empty( $customer_data ) ? $customer_data->first_name : '',
     142                'last_name'  => ! empty( $customer_data ) ? $customer_data->last_name : '',
     143                'email'      => ! empty( $customer_data ) ? $customer_data->user_email : '',
    144144            ];
    145145            // Continue with data gathering only if there is an email value to send data to.
  • smaily-for-woocommerce/tags/1.11.1/lang/smaily-et.po

    r2865166 r2896551  
    44"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/smaily-for-"
    55"woocommerce\n"
    6 "POT-Creation-Date: 2023-02-14 16:09+0200\n"
    7 "PO-Revision-Date: 2023-02-14 16:09+0200\n"
     6"POT-Creation-Date: 2023-04-10 13:49+0300\n"
     7"PO-Revision-Date: 2023-04-10 13:49+0300\n"
    88"Last-Translator: \n"
    99"Language-Team: Estonian\n"
  • smaily-for-woocommerce/tags/1.11.1/lang/smaily-et_EE.po

    r2865166 r2896551  
    44"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/smaily-for-"
    55"woocommercewoocommerce\n"
    6 "POT-Creation-Date: 2023-02-14 16:09+0200\n"
    7 "PO-Revision-Date: 2023-02-14 16:09+0200\n"
     6"POT-Creation-Date: 2023-04-10 13:49+0300\n"
     7"PO-Revision-Date: 2023-04-10 13:49+0300\n"
    88"Last-Translator: \n"
    99"Language-Team: Estonian\n"
  • smaily-for-woocommerce/tags/1.11.1/readme.txt

    r2865166 r2896551  
    66Tested up to: 5.8
    77WC tested up to: 4.7.0
    8 Stable tag: 1.11.0
     8Stable tag: 1.11.1
    99License: GPLv3
    1010
     
    152152== Changelog ==
    153153
     154= 1.11.1 =
     155
     156- Handle missing customer data to reduce logged warnings and notices
     157
    154158= 1.11.0 =
    155159
  • smaily-for-woocommerce/tags/1.11.1/smaily-for-woocommerce.php

    r2865166 r2896551  
    1414 * Plugin URI: https://github.com/sendsmaily/smaily-woocommerce-plugin
    1515 * Description: Smaily email marketing and automation extension plugin for WooCommerce. Set up easy sync for your contacts, add opt-in subscription form, import products directly to your email template and send abandoned cart reminder emails.
    16  * Version: 1.11.0
     16 * Version: 1.11.1
    1717 * License: GPL3
    1818 * Author: Smaily
     
    4949define( 'SMAILY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    5050define( 'SMAILY_PLUGIN_NAME', plugin_basename( __FILE__ ) );
    51 define( 'SMAILY_PLUGIN_VERSION', '1.11.0' );
     51define( 'SMAILY_PLUGIN_VERSION', '1.11.1' );
    5252
    5353// Required to use functions is_plugin_active and deactivate_plugins.
  • smaily-for-woocommerce/tags/1.11.1/vendor/autoload.php

    r2865166 r2896551  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit9701a095399972626116f68c827128b9::getLoader();
     25return ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3::getLoader();
  • smaily-for-woocommerce/tags/1.11.1/vendor/composer/InstalledVersions.php

    r2743923 r2896551  
    9999        foreach (self::getInstalled() as $installed) {
    100100            if (isset($installed['versions'][$packageName])) {
    101                 return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
     101                return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false;
    102102            }
    103103        }
     
    120120    public static function satisfies(VersionParser $parser, $packageName, $constraint)
    121121    {
    122         $constraint = $parser->parseConstraints($constraint);
     122        $constraint = $parser->parseConstraints((string) $constraint);
    123123        $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
    124124
     
    329329                    $installed[] = self::$installedByVendor[$vendorDir];
    330330                } elseif (is_file($vendorDir.'/composer/installed.php')) {
    331                     $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
     331                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     332                    $required = require $vendorDir.'/composer/installed.php';
     333                    $installed[] = self::$installedByVendor[$vendorDir] = $required;
    332334                    if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    333335                        self::$installed = $installed[count($installed) - 1];
     
    341343            // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
    342344            if (substr(__DIR__, -8, 1) !== 'C') {
    343                 self::$installed = require __DIR__ . '/installed.php';
     345                /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     346                $required = require __DIR__ . '/installed.php';
     347                self::$installed = $required;
    344348            } else {
    345349                self::$installed = array();
    346350            }
    347351        }
    348         $installed[] = self::$installed;
     352
     353        if (self::$installed !== array()) {
     354            $installed[] = self::$installed;
     355        }
    349356
    350357        return $installed;
  • smaily-for-woocommerce/tags/1.11.1/vendor/composer/autoload_real.php

    r2865166 r2896551  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit9701a095399972626116f68c827128b9
     5class ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit9701a095399972626116f68c827128b9', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit9701a095399972626116f68c827128b9', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInit9701a095399972626116f68c827128b9::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::getInitializer($loader));
    3131
    3232        $loader->register(true);
  • smaily-for-woocommerce/tags/1.11.1/vendor/composer/autoload_static.php

    r2865166 r2896551  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit9701a095399972626116f68c827128b9
     7class ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2828    {
    2929        return \Closure::bind(function () use ($loader) {
    30             $loader->prefixLengthsPsr4 = ComposerStaticInit9701a095399972626116f68c827128b9::$prefixLengthsPsr4;
    31             $loader->prefixDirsPsr4 = ComposerStaticInit9701a095399972626116f68c827128b9::$prefixDirsPsr4;
    32             $loader->classMap = ComposerStaticInit9701a095399972626116f68c827128b9::$classMap;
     30            $loader->prefixLengthsPsr4 = ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::$prefixLengthsPsr4;
     31            $loader->prefixDirsPsr4 = ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::$prefixDirsPsr4;
     32            $loader->classMap = ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::$classMap;
    3333
    3434        }, null, ClassLoader::class);
  • smaily-for-woocommerce/tags/1.11.1/vendor/composer/installed.php

    r2865166 r2896551  
    22    'root' => array(
    33        'name' => 'smaily/smaily_for_woocommerce',
    4         'pretty_version' => '1.11.0',
    5         'version' => '1.11.0.0',
    6         'reference' => 'b1810a8855f838e1625bd2b8ab951ca0ba1406a8',
     4        'pretty_version' => '1.11.1',
     5        'version' => '1.11.1.0',
     6        'reference' => 'ffa4deda5b4ea96cd58428bee542f97b7eef2de9',
    77        'type' => 'plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'smaily/smaily_for_woocommerce' => array(
    14             'pretty_version' => '1.11.0',
    15             'version' => '1.11.0.0',
    16             'reference' => 'b1810a8855f838e1625bd2b8ab951ca0ba1406a8',
     14            'pretty_version' => '1.11.1',
     15            'version' => '1.11.1.0',
     16            'reference' => 'ffa4deda5b4ea96cd58428bee542f97b7eef2de9',
    1717            'type' => 'plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • smaily-for-woocommerce/trunk/inc/Base/Cron.php

    r2244370 r2896551  
    7575                $wordpress_unsubscriber = get_user_by( 'email', $user_email );
    7676                // set user subscribed status to 0.
    77                 if ( isset( $wordpress_unsubscriber ) ) {
     77                if ( ! empty( $wordpress_unsubscriber ) ) {
    7878                    update_user_meta( $wordpress_unsubscriber->ID, 'user_newsletter', 0, 1 );
    7979                }
     
    139139            $customer_data = get_userdata( $customer_id );
    140140            $customer      = [
    141                 'first_name' => $customer_data->first_name ? $customer_data->first_name : '',
    142                 'last_name'  => $customer_data->last_name ? $customer_data->last_name : '',
    143                 'email'      => $customer_data->user_email ? $customer_data->user_email : '',
     141                'first_name' => ! empty( $customer_data ) ? $customer_data->first_name : '',
     142                'last_name'  => ! empty( $customer_data ) ? $customer_data->last_name : '',
     143                'email'      => ! empty( $customer_data ) ? $customer_data->user_email : '',
    144144            ];
    145145            // Continue with data gathering only if there is an email value to send data to.
  • smaily-for-woocommerce/trunk/lang/smaily-et.po

    r2865166 r2896551  
    44"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/smaily-for-"
    55"woocommerce\n"
    6 "POT-Creation-Date: 2023-02-14 16:09+0200\n"
    7 "PO-Revision-Date: 2023-02-14 16:09+0200\n"
     6"POT-Creation-Date: 2023-04-10 13:49+0300\n"
     7"PO-Revision-Date: 2023-04-10 13:49+0300\n"
    88"Last-Translator: \n"
    99"Language-Team: Estonian\n"
  • smaily-for-woocommerce/trunk/lang/smaily-et_EE.po

    r2865166 r2896551  
    44"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/smaily-for-"
    55"woocommercewoocommerce\n"
    6 "POT-Creation-Date: 2023-02-14 16:09+0200\n"
    7 "PO-Revision-Date: 2023-02-14 16:09+0200\n"
     6"POT-Creation-Date: 2023-04-10 13:49+0300\n"
     7"PO-Revision-Date: 2023-04-10 13:49+0300\n"
    88"Last-Translator: \n"
    99"Language-Team: Estonian\n"
  • smaily-for-woocommerce/trunk/readme.txt

    r2865166 r2896551  
    66Tested up to: 5.8
    77WC tested up to: 4.7.0
    8 Stable tag: 1.11.0
     8Stable tag: 1.11.1
    99License: GPLv3
    1010
     
    152152== Changelog ==
    153153
     154= 1.11.1 =
     155
     156- Handle missing customer data to reduce logged warnings and notices
     157
    154158= 1.11.0 =
    155159
  • smaily-for-woocommerce/trunk/smaily-for-woocommerce.php

    r2865166 r2896551  
    1414 * Plugin URI: https://github.com/sendsmaily/smaily-woocommerce-plugin
    1515 * Description: Smaily email marketing and automation extension plugin for WooCommerce. Set up easy sync for your contacts, add opt-in subscription form, import products directly to your email template and send abandoned cart reminder emails.
    16  * Version: 1.11.0
     16 * Version: 1.11.1
    1717 * License: GPL3
    1818 * Author: Smaily
     
    4949define( 'SMAILY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    5050define( 'SMAILY_PLUGIN_NAME', plugin_basename( __FILE__ ) );
    51 define( 'SMAILY_PLUGIN_VERSION', '1.11.0' );
     51define( 'SMAILY_PLUGIN_VERSION', '1.11.1' );
    5252
    5353// Required to use functions is_plugin_active and deactivate_plugins.
  • smaily-for-woocommerce/trunk/vendor/autoload.php

    r2865166 r2896551  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit9701a095399972626116f68c827128b9::getLoader();
     25return ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3::getLoader();
  • smaily-for-woocommerce/trunk/vendor/composer/InstalledVersions.php

    r2743923 r2896551  
    9999        foreach (self::getInstalled() as $installed) {
    100100            if (isset($installed['versions'][$packageName])) {
    101                 return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
     101                return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false;
    102102            }
    103103        }
     
    120120    public static function satisfies(VersionParser $parser, $packageName, $constraint)
    121121    {
    122         $constraint = $parser->parseConstraints($constraint);
     122        $constraint = $parser->parseConstraints((string) $constraint);
    123123        $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
    124124
     
    329329                    $installed[] = self::$installedByVendor[$vendorDir];
    330330                } elseif (is_file($vendorDir.'/composer/installed.php')) {
    331                     $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
     331                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     332                    $required = require $vendorDir.'/composer/installed.php';
     333                    $installed[] = self::$installedByVendor[$vendorDir] = $required;
    332334                    if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    333335                        self::$installed = $installed[count($installed) - 1];
     
    341343            // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
    342344            if (substr(__DIR__, -8, 1) !== 'C') {
    343                 self::$installed = require __DIR__ . '/installed.php';
     345                /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     346                $required = require __DIR__ . '/installed.php';
     347                self::$installed = $required;
    344348            } else {
    345349                self::$installed = array();
    346350            }
    347351        }
    348         $installed[] = self::$installed;
     352
     353        if (self::$installed !== array()) {
     354            $installed[] = self::$installed;
     355        }
    349356
    350357        return $installed;
  • smaily-for-woocommerce/trunk/vendor/composer/autoload_real.php

    r2865166 r2896551  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit9701a095399972626116f68c827128b9
     5class ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit9701a095399972626116f68c827128b9', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit9701a095399972626116f68c827128b9', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInit9701a095399972626116f68c827128b9::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::getInitializer($loader));
    3131
    3232        $loader->register(true);
  • smaily-for-woocommerce/trunk/vendor/composer/autoload_static.php

    r2865166 r2896551  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit9701a095399972626116f68c827128b9
     7class ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2828    {
    2929        return \Closure::bind(function () use ($loader) {
    30             $loader->prefixLengthsPsr4 = ComposerStaticInit9701a095399972626116f68c827128b9::$prefixLengthsPsr4;
    31             $loader->prefixDirsPsr4 = ComposerStaticInit9701a095399972626116f68c827128b9::$prefixDirsPsr4;
    32             $loader->classMap = ComposerStaticInit9701a095399972626116f68c827128b9::$classMap;
     30            $loader->prefixLengthsPsr4 = ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::$prefixLengthsPsr4;
     31            $loader->prefixDirsPsr4 = ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::$prefixDirsPsr4;
     32            $loader->classMap = ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::$classMap;
    3333
    3434        }, null, ClassLoader::class);
  • smaily-for-woocommerce/trunk/vendor/composer/installed.php

    r2865166 r2896551  
    22    'root' => array(
    33        'name' => 'smaily/smaily_for_woocommerce',
    4         'pretty_version' => '1.11.0',
    5         'version' => '1.11.0.0',
    6         'reference' => 'b1810a8855f838e1625bd2b8ab951ca0ba1406a8',
     4        'pretty_version' => '1.11.1',
     5        'version' => '1.11.1.0',
     6        'reference' => 'ffa4deda5b4ea96cd58428bee542f97b7eef2de9',
    77        'type' => 'plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'smaily/smaily_for_woocommerce' => array(
    14             'pretty_version' => '1.11.0',
    15             'version' => '1.11.0.0',
    16             'reference' => 'b1810a8855f838e1625bd2b8ab951ca0ba1406a8',
     14            'pretty_version' => '1.11.1',
     15            'version' => '1.11.1.0',
     16            'reference' => 'ffa4deda5b4ea96cd58428bee542f97b7eef2de9',
    1717            'type' => 'plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.