Plugin Directory

Changeset 3280952


Ignore:
Timestamp:
04/24/2025 12:37:37 PM (10 months ago)
Author:
sendsmaily
Message:

Release 1.12.3, see readme.txt for the changelog.

Location:
smaily-for-woocommerce
Files:
2 added
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • smaily-for-woocommerce/tags/1.12.3/inc/Init.php

    r2555168 r3280952  
    2828            Base\Cron::class,
    2929            Api\Api::class,
    30             Widget\SmailyWidget::class,
     30            Widget\Register::class,
    3131            Rss\SmailyRss::class,
    3232        );
  • smaily-for-woocommerce/tags/1.12.3/inc/Widget/SmailyWidget.php

    r2575302 r3280952  
    2121            esc_html__( 'Smaily for WooCommerce Form', 'smaily' ), // Name.
    2222            array( 'description' => esc_html__( 'Smaily for WooCommerce Newsletter Widget', 'smaily' ) ) // Args.
    23         );
    24     }
    25 
    26     /**
    27      * Action hooks for initializing widget.
    28      *
    29      * @return void
    30      */
    31     public function register() {
    32 
    33         // Register widget for WordPress.
    34         add_action(
    35             'widgets_init',
    36             function() {
    37                 register_widget( 'Smaily_Inc\Widget\SmailyWidget' );
    38             }
    3923        );
    4024    }
  • smaily-for-woocommerce/tags/1.12.3/readme.txt

    r3266071 r3280952  
    44Requires PHP: 5.6
    55Requires at least: 4.5
    6 Tested up to: 6.7
     6Tested up to: 6.8
    77WC tested up to: 9.7
    8 Stable tag: 1.12.2
     8Stable tag: 1.12.3
    99License: GPLv3
    1010
     
    152152== Changelog ==
    153153
     154= 1.12.3 =
     155
     156- Fixes translations not correctly loaded due to widget translations were loaded too early in WordPress lifecycle.
     157
    154158= 1.12.2 =
    155159
  • smaily-for-woocommerce/tags/1.12.3/smaily-for-woocommerce.php

    r3266071 r3280952  
    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.12.2
     16 * Version: 1.12.3
    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.12.2' );
     51define( 'SMAILY_PLUGIN_VERSION', '1.12.3' );
    5252
    5353// Required to use functions is_plugin_active and deactivate_plugins.
  • smaily-for-woocommerce/tags/1.12.3/vendor/autoload.php

    r3198193 r3280952  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • smaily-for-woocommerce/tags/1.12.3/vendor/composer/InstalledVersions.php

    r3255181 r3280952  
    2727class InstalledVersions
    2828{
     29    /**
     30     * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to
     31     * @internal
     32     */
     33    private static $selfDir = null;
     34
    2935    /**
    3036     * @var mixed[]|null
     
    324330
    325331    /**
     332     * @return string
     333     */
     334    private static function getSelfDir()
     335    {
     336        if (self::$selfDir === null) {
     337            self::$selfDir = strtr(__DIR__, '\\', '/');
     338        }
     339
     340        return self::$selfDir;
     341    }
     342
     343    /**
    326344     * @return array[]
    327345     * @psalm-return list<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[]}>}>
     
    337355
    338356        if (self::$canGetVendors) {
    339             $selfDir = strtr(__DIR__, '\\', '/');
     357            $selfDir = self::getSelfDir();
    340358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
    341359                $vendorDir = strtr($vendorDir, '\\', '/');
  • smaily-for-woocommerce/tags/1.12.3/vendor/composer/installed.php

    r3266071 r3280952  
    22    'root' => array(
    33        'name' => 'smaily/smaily_for_woocommerce',
    4         'pretty_version' => '1.12.2',
    5         'version' => '1.12.2.0',
    6         'reference' => '46d68d2e752c6b81d077e5d387c0d2fa3210c964',
     4        'pretty_version' => '1.12.3',
     5        'version' => '1.12.3.0',
     6        'reference' => '185d0414a6e884d955e4d15b1dcbf84becc82939',
    77        'type' => 'plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'smaily/smaily_for_woocommerce' => array(
    14             'pretty_version' => '1.12.2',
    15             'version' => '1.12.2.0',
    16             'reference' => '46d68d2e752c6b81d077e5d387c0d2fa3210c964',
     14            'pretty_version' => '1.12.3',
     15            'version' => '1.12.3.0',
     16            'reference' => '185d0414a6e884d955e4d15b1dcbf84becc82939',
    1717            'type' => 'plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • smaily-for-woocommerce/trunk/inc/Init.php

    r2555168 r3280952  
    2828            Base\Cron::class,
    2929            Api\Api::class,
    30             Widget\SmailyWidget::class,
     30            Widget\Register::class,
    3131            Rss\SmailyRss::class,
    3232        );
  • smaily-for-woocommerce/trunk/inc/Widget/SmailyWidget.php

    r2575302 r3280952  
    2121            esc_html__( 'Smaily for WooCommerce Form', 'smaily' ), // Name.
    2222            array( 'description' => esc_html__( 'Smaily for WooCommerce Newsletter Widget', 'smaily' ) ) // Args.
    23         );
    24     }
    25 
    26     /**
    27      * Action hooks for initializing widget.
    28      *
    29      * @return void
    30      */
    31     public function register() {
    32 
    33         // Register widget for WordPress.
    34         add_action(
    35             'widgets_init',
    36             function() {
    37                 register_widget( 'Smaily_Inc\Widget\SmailyWidget' );
    38             }
    3923        );
    4024    }
  • smaily-for-woocommerce/trunk/readme.txt

    r3266071 r3280952  
    44Requires PHP: 5.6
    55Requires at least: 4.5
    6 Tested up to: 6.7
     6Tested up to: 6.8
    77WC tested up to: 9.7
    8 Stable tag: 1.12.2
     8Stable tag: 1.12.3
    99License: GPLv3
    1010
     
    152152== Changelog ==
    153153
     154= 1.12.3 =
     155
     156- Fixes translations not correctly loaded due to widget translations were loaded too early in WordPress lifecycle.
     157
    154158= 1.12.2 =
    155159
  • smaily-for-woocommerce/trunk/smaily-for-woocommerce.php

    r3266071 r3280952  
    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.12.2
     16 * Version: 1.12.3
    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.12.2' );
     51define( 'SMAILY_PLUGIN_VERSION', '1.12.3' );
    5252
    5353// Required to use functions is_plugin_active and deactivate_plugins.
  • smaily-for-woocommerce/trunk/vendor/autoload.php

    r3198193 r3280952  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • smaily-for-woocommerce/trunk/vendor/composer/InstalledVersions.php

    r3255181 r3280952  
    2727class InstalledVersions
    2828{
     29    /**
     30     * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to
     31     * @internal
     32     */
     33    private static $selfDir = null;
     34
    2935    /**
    3036     * @var mixed[]|null
     
    324330
    325331    /**
     332     * @return string
     333     */
     334    private static function getSelfDir()
     335    {
     336        if (self::$selfDir === null) {
     337            self::$selfDir = strtr(__DIR__, '\\', '/');
     338        }
     339
     340        return self::$selfDir;
     341    }
     342
     343    /**
    326344     * @return array[]
    327345     * @psalm-return list<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[]}>}>
     
    337355
    338356        if (self::$canGetVendors) {
    339             $selfDir = strtr(__DIR__, '\\', '/');
     357            $selfDir = self::getSelfDir();
    340358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
    341359                $vendorDir = strtr($vendorDir, '\\', '/');
  • smaily-for-woocommerce/trunk/vendor/composer/installed.php

    r3266071 r3280952  
    22    'root' => array(
    33        'name' => 'smaily/smaily_for_woocommerce',
    4         'pretty_version' => '1.12.2',
    5         'version' => '1.12.2.0',
    6         'reference' => '46d68d2e752c6b81d077e5d387c0d2fa3210c964',
     4        'pretty_version' => '1.12.3',
     5        'version' => '1.12.3.0',
     6        'reference' => '185d0414a6e884d955e4d15b1dcbf84becc82939',
    77        'type' => 'plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'smaily/smaily_for_woocommerce' => array(
    14             'pretty_version' => '1.12.2',
    15             'version' => '1.12.2.0',
    16             'reference' => '46d68d2e752c6b81d077e5d387c0d2fa3210c964',
     14            'pretty_version' => '1.12.3',
     15            'version' => '1.12.3.0',
     16            'reference' => '185d0414a6e884d955e4d15b1dcbf84becc82939',
    1717            'type' => 'plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.