Changeset 2896551
- Timestamp:
- 04/10/2023 10:53:21 AM (3 years ago)
- Location:
- smaily-for-woocommerce
- Files:
-
- 24 edited
- 1 copied
-
tags/1.11.1 (copied) (copied from smaily-for-woocommerce/trunk)
-
tags/1.11.1/inc/Base/Cron.php (modified) (2 diffs)
-
tags/1.11.1/lang/smaily-et.mo (modified) (previous)
-
tags/1.11.1/lang/smaily-et.po (modified) (1 diff)
-
tags/1.11.1/lang/smaily-et_EE.mo (modified) (previous)
-
tags/1.11.1/lang/smaily-et_EE.po (modified) (1 diff)
-
tags/1.11.1/readme.txt (modified) (2 diffs)
-
tags/1.11.1/smaily-for-woocommerce.php (modified) (2 diffs)
-
tags/1.11.1/vendor/autoload.php (modified) (1 diff)
-
tags/1.11.1/vendor/composer/InstalledVersions.php (modified) (4 diffs)
-
tags/1.11.1/vendor/composer/autoload_real.php (modified) (2 diffs)
-
tags/1.11.1/vendor/composer/autoload_static.php (modified) (2 diffs)
-
tags/1.11.1/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/inc/Base/Cron.php (modified) (2 diffs)
-
trunk/lang/smaily-et.mo (modified) (previous)
-
trunk/lang/smaily-et.po (modified) (1 diff)
-
trunk/lang/smaily-et_EE.mo (modified) (previous)
-
trunk/lang/smaily-et_EE.po (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/smaily-for-woocommerce.php (modified) (2 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/InstalledVersions.php (modified) (4 diffs)
-
trunk/vendor/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smaily-for-woocommerce/tags/1.11.1/inc/Base/Cron.php
r2244370 r2896551 75 75 $wordpress_unsubscriber = get_user_by( 'email', $user_email ); 76 76 // set user subscribed status to 0. 77 if ( isset( $wordpress_unsubscriber ) ) {77 if ( ! empty( $wordpress_unsubscriber ) ) { 78 78 update_user_meta( $wordpress_unsubscriber->ID, 'user_newsletter', 0, 1 ); 79 79 } … … 139 139 $customer_data = get_userdata( $customer_id ); 140 140 $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 : '', 144 144 ]; 145 145 // 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 4 4 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/smaily-for-" 5 5 "woocommerce\n" 6 "POT-Creation-Date: 2023-0 2-14 16:09+0200\n"7 "PO-Revision-Date: 2023-0 2-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" 8 8 "Last-Translator: \n" 9 9 "Language-Team: Estonian\n" -
smaily-for-woocommerce/tags/1.11.1/lang/smaily-et_EE.po
r2865166 r2896551 4 4 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/smaily-for-" 5 5 "woocommercewoocommerce\n" 6 "POT-Creation-Date: 2023-0 2-14 16:09+0200\n"7 "PO-Revision-Date: 2023-0 2-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" 8 8 "Last-Translator: \n" 9 9 "Language-Team: Estonian\n" -
smaily-for-woocommerce/tags/1.11.1/readme.txt
r2865166 r2896551 6 6 Tested up to: 5.8 7 7 WC tested up to: 4.7.0 8 Stable tag: 1.11. 08 Stable tag: 1.11.1 9 9 License: GPLv3 10 10 … … 152 152 == Changelog == 153 153 154 = 1.11.1 = 155 156 - Handle missing customer data to reduce logged warnings and notices 157 154 158 = 1.11.0 = 155 159 -
smaily-for-woocommerce/tags/1.11.1/smaily-for-woocommerce.php
r2865166 r2896551 14 14 * Plugin URI: https://github.com/sendsmaily/smaily-woocommerce-plugin 15 15 * 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. 016 * Version: 1.11.1 17 17 * License: GPL3 18 18 * Author: Smaily … … 49 49 define( 'SMAILY_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); 50 50 define( 'SMAILY_PLUGIN_NAME', plugin_basename( __FILE__ ) ); 51 define( 'SMAILY_PLUGIN_VERSION', '1.11. 0' );51 define( 'SMAILY_PLUGIN_VERSION', '1.11.1' ); 52 52 53 53 // Required to use functions is_plugin_active and deactivate_plugins. -
smaily-for-woocommerce/tags/1.11.1/vendor/autoload.php
r2865166 r2896551 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 9701a095399972626116f68c827128b9::getLoader();25 return ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3::getLoader(); -
smaily-for-woocommerce/tags/1.11.1/vendor/composer/InstalledVersions.php
r2743923 r2896551 99 99 foreach (self::getInstalled() as $installed) { 100 100 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; 102 102 } 103 103 } … … 120 120 public static function satisfies(VersionParser $parser, $packageName, $constraint) 121 121 { 122 $constraint = $parser->parseConstraints( $constraint);122 $constraint = $parser->parseConstraints((string) $constraint); 123 123 $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); 124 124 … … 329 329 $installed[] = self::$installedByVendor[$vendorDir]; 330 330 } 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; 332 334 if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 333 335 self::$installed = $installed[count($installed) - 1]; … … 341 343 // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 342 344 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; 344 348 } else { 345 349 self::$installed = array(); 346 350 } 347 351 } 348 $installed[] = self::$installed; 352 353 if (self::$installed !== array()) { 354 $installed[] = self::$installed; 355 } 349 356 350 357 return $installed; -
smaily-for-woocommerce/tags/1.11.1/vendor/composer/autoload_real.php
r2865166 r2896551 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 9701a095399972626116f68c827128b95 class ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 9701a095399972626116f68c827128b9', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 9701a095399972626116f68c827128b9', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3', 'loadClassLoader')); 28 28 29 29 require __DIR__ . '/autoload_static.php'; 30 call_user_func(\Composer\Autoload\ComposerStaticInit 9701a095399972626116f68c827128b9::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::getInitializer($loader)); 31 31 32 32 $loader->register(true); -
smaily-for-woocommerce/tags/1.11.1/vendor/composer/autoload_static.php
r2865166 r2896551 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 9701a095399972626116f68c827128b97 class ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 28 28 { 29 29 return \Closure::bind(function () use ($loader) { 30 $loader->prefixLengthsPsr4 = ComposerStaticInit 9701a095399972626116f68c827128b9::$prefixLengthsPsr4;31 $loader->prefixDirsPsr4 = ComposerStaticInit 9701a095399972626116f68c827128b9::$prefixDirsPsr4;32 $loader->classMap = ComposerStaticInit 9701a095399972626116f68c827128b9::$classMap;30 $loader->prefixLengthsPsr4 = ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::$prefixLengthsPsr4; 31 $loader->prefixDirsPsr4 = ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::$prefixDirsPsr4; 32 $loader->classMap = ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::$classMap; 33 33 34 34 }, null, ClassLoader::class); -
smaily-for-woocommerce/tags/1.11.1/vendor/composer/installed.php
r2865166 r2896551 2 2 'root' => array( 3 3 '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', 7 7 'type' => 'plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 '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', 17 17 'type' => 'plugin', 18 18 'install_path' => __DIR__ . '/../../', -
smaily-for-woocommerce/trunk/inc/Base/Cron.php
r2244370 r2896551 75 75 $wordpress_unsubscriber = get_user_by( 'email', $user_email ); 76 76 // set user subscribed status to 0. 77 if ( isset( $wordpress_unsubscriber ) ) {77 if ( ! empty( $wordpress_unsubscriber ) ) { 78 78 update_user_meta( $wordpress_unsubscriber->ID, 'user_newsletter', 0, 1 ); 79 79 } … … 139 139 $customer_data = get_userdata( $customer_id ); 140 140 $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 : '', 144 144 ]; 145 145 // 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 4 4 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/smaily-for-" 5 5 "woocommerce\n" 6 "POT-Creation-Date: 2023-0 2-14 16:09+0200\n"7 "PO-Revision-Date: 2023-0 2-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" 8 8 "Last-Translator: \n" 9 9 "Language-Team: Estonian\n" -
smaily-for-woocommerce/trunk/lang/smaily-et_EE.po
r2865166 r2896551 4 4 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/smaily-for-" 5 5 "woocommercewoocommerce\n" 6 "POT-Creation-Date: 2023-0 2-14 16:09+0200\n"7 "PO-Revision-Date: 2023-0 2-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" 8 8 "Last-Translator: \n" 9 9 "Language-Team: Estonian\n" -
smaily-for-woocommerce/trunk/readme.txt
r2865166 r2896551 6 6 Tested up to: 5.8 7 7 WC tested up to: 4.7.0 8 Stable tag: 1.11. 08 Stable tag: 1.11.1 9 9 License: GPLv3 10 10 … … 152 152 == Changelog == 153 153 154 = 1.11.1 = 155 156 - Handle missing customer data to reduce logged warnings and notices 157 154 158 = 1.11.0 = 155 159 -
smaily-for-woocommerce/trunk/smaily-for-woocommerce.php
r2865166 r2896551 14 14 * Plugin URI: https://github.com/sendsmaily/smaily-woocommerce-plugin 15 15 * 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. 016 * Version: 1.11.1 17 17 * License: GPL3 18 18 * Author: Smaily … … 49 49 define( 'SMAILY_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); 50 50 define( 'SMAILY_PLUGIN_NAME', plugin_basename( __FILE__ ) ); 51 define( 'SMAILY_PLUGIN_VERSION', '1.11. 0' );51 define( 'SMAILY_PLUGIN_VERSION', '1.11.1' ); 52 52 53 53 // Required to use functions is_plugin_active and deactivate_plugins. -
smaily-for-woocommerce/trunk/vendor/autoload.php
r2865166 r2896551 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 9701a095399972626116f68c827128b9::getLoader();25 return ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3::getLoader(); -
smaily-for-woocommerce/trunk/vendor/composer/InstalledVersions.php
r2743923 r2896551 99 99 foreach (self::getInstalled() as $installed) { 100 100 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; 102 102 } 103 103 } … … 120 120 public static function satisfies(VersionParser $parser, $packageName, $constraint) 121 121 { 122 $constraint = $parser->parseConstraints( $constraint);122 $constraint = $parser->parseConstraints((string) $constraint); 123 123 $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); 124 124 … … 329 329 $installed[] = self::$installedByVendor[$vendorDir]; 330 330 } 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; 332 334 if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 333 335 self::$installed = $installed[count($installed) - 1]; … … 341 343 // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 342 344 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; 344 348 } else { 345 349 self::$installed = array(); 346 350 } 347 351 } 348 $installed[] = self::$installed; 352 353 if (self::$installed !== array()) { 354 $installed[] = self::$installed; 355 } 349 356 350 357 return $installed; -
smaily-for-woocommerce/trunk/vendor/composer/autoload_real.php
r2865166 r2896551 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 9701a095399972626116f68c827128b95 class ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 9701a095399972626116f68c827128b9', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 9701a095399972626116f68c827128b9', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit401ed3cdcead1b0c5cc6d0a96259faf3', 'loadClassLoader')); 28 28 29 29 require __DIR__ . '/autoload_static.php'; 30 call_user_func(\Composer\Autoload\ComposerStaticInit 9701a095399972626116f68c827128b9::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::getInitializer($loader)); 31 31 32 32 $loader->register(true); -
smaily-for-woocommerce/trunk/vendor/composer/autoload_static.php
r2865166 r2896551 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 9701a095399972626116f68c827128b97 class ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 28 28 { 29 29 return \Closure::bind(function () use ($loader) { 30 $loader->prefixLengthsPsr4 = ComposerStaticInit 9701a095399972626116f68c827128b9::$prefixLengthsPsr4;31 $loader->prefixDirsPsr4 = ComposerStaticInit 9701a095399972626116f68c827128b9::$prefixDirsPsr4;32 $loader->classMap = ComposerStaticInit 9701a095399972626116f68c827128b9::$classMap;30 $loader->prefixLengthsPsr4 = ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::$prefixLengthsPsr4; 31 $loader->prefixDirsPsr4 = ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::$prefixDirsPsr4; 32 $loader->classMap = ComposerStaticInit401ed3cdcead1b0c5cc6d0a96259faf3::$classMap; 33 33 34 34 }, null, ClassLoader::class); -
smaily-for-woocommerce/trunk/vendor/composer/installed.php
r2865166 r2896551 2 2 'root' => array( 3 3 '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', 7 7 'type' => 'plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 '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', 17 17 'type' => 'plugin', 18 18 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.