Plugin Directory

Changeset 3371505


Ignore:
Timestamp:
10/02/2025 03:22:28 AM (6 months ago)
Author:
linguise
Message:

Updating to version 2.1.73

Location:
linguise
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • linguise/tags/2.1.73/linguise.php

    r3366846 r3371505  
    55 * Plugin URI: https://www.linguise.com/
    66 * Description: Linguise translation plugin
    7  * Version:2.1.72
     7 * Version:2.1.73
    88 * Text Domain: linguise
    99 * Domain Path: /languages
  • linguise/tags/2.1.73/readme.txt

    r3366846 r3371505  
    44Requires at least: 4.0
    55Tested up to: 6.8
    6 Stable tag:2.1.72
     6Stable tag:2.1.73
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    104104
    105105== Changelog ==
     106= 2.1.73 =
     107- Fix: WooCommerce Stripe Gateway Issue: the credit card form not showing up
     108
    106109= 2.1.72 =
    107110- Chore: Refactored fragment handler code
  • linguise/tags/2.1.73/src/constants.php

    r3366846 r3371505  
    11<?php
    22if (!defined('LINGUISE_SCRIPT_TRANSLATION_VERSION')) {
    3     define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.1.72');
     3    define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.1.73');
    44}
    55
    66if (!defined('LINGUISE_VERSION')) {
    7     define('LINGUISE_VERSION', '2.1.72');
     7    define('LINGUISE_VERSION', '2.1.73');
    88}
  • linguise/tags/2.1.73/src/thirdparty/wc/gateway-stripe.php

    r3358294 r3371505  
    188188     * changed into an array
    189189     *
     190     * @param array  $replaced_json The fragment being translated.
    190191     * @param string $fragment_name The name of the fragment being translated.
    191      * @param array  $replaced_json The fragment being translated.
    192192     *
    193193     * @return array The original block appearance structure.
    194194     */
    195     public function restoreOriginalConfigClassicCheckout($fragment_name, $replaced_json)
     195    public function restoreOriginalConfigClassicCheckout($replaced_json, $fragment_name)
    196196    {
    197197        if ($fragment_name === 'wc-stripe-upe-classic') {
     
    217217        $replaced_json = json_decode($replaced_json);
    218218        if ($fragment_name === 'wc-settings-encoded') {
    219             if (isset($replaced_json->paymentMethodData->stripe->blocksAppearance)) {
    220                 $rules = $replaced_json->paymentMethodData->stripe->blocksAppearance->rules;
     219            $blocksAppearance = $replaced_json->paymentMethodData->stripe->blocksAppearance ?? null;
     220            if ($blocksAppearance && is_array($blocksAppearance->rules ?? null)) {
     221                $rules = $blocksAppearance->rules;
    221222                $replaced_json->paymentMethodData->stripe->blocksAppearance->rules = $this->arrayToObject($rules);
    222223            }
  • linguise/tags/2.1.73/vendor/composer/installed.php

    r3366846 r3371505  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '3d43db286724933049dae05905587dd8108a9002',
     6        'reference' => 'e9f6c24266aed9d03fa951c74185c1acbd71f814',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    3232            'pretty_version' => 'dev-master',
    3333            'version' => 'dev-master',
    34             'reference' => '3d43db286724933049dae05905587dd8108a9002',
     34            'reference' => 'e9f6c24266aed9d03fa951c74185c1acbd71f814',
    3535            'type' => 'library',
    3636            'install_path' => __DIR__ . '/../../',
  • linguise/trunk/linguise.php

    r3366846 r3371505  
    55 * Plugin URI: https://www.linguise.com/
    66 * Description: Linguise translation plugin
    7  * Version:2.1.72
     7 * Version:2.1.73
    88 * Text Domain: linguise
    99 * Domain Path: /languages
  • linguise/trunk/readme.txt

    r3366846 r3371505  
    44Requires at least: 4.0
    55Tested up to: 6.8
    6 Stable tag:2.1.72
     6Stable tag:2.1.73
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    104104
    105105== Changelog ==
     106= 2.1.73 =
     107- Fix: WooCommerce Stripe Gateway Issue: the credit card form not showing up
     108
    106109= 2.1.72 =
    107110- Chore: Refactored fragment handler code
  • linguise/trunk/src/constants.php

    r3366846 r3371505  
    11<?php
    22if (!defined('LINGUISE_SCRIPT_TRANSLATION_VERSION')) {
    3     define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.1.72');
     3    define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.1.73');
    44}
    55
    66if (!defined('LINGUISE_VERSION')) {
    7     define('LINGUISE_VERSION', '2.1.72');
     7    define('LINGUISE_VERSION', '2.1.73');
    88}
  • linguise/trunk/src/thirdparty/wc/gateway-stripe.php

    r3358294 r3371505  
    188188     * changed into an array
    189189     *
     190     * @param array  $replaced_json The fragment being translated.
    190191     * @param string $fragment_name The name of the fragment being translated.
    191      * @param array  $replaced_json The fragment being translated.
    192192     *
    193193     * @return array The original block appearance structure.
    194194     */
    195     public function restoreOriginalConfigClassicCheckout($fragment_name, $replaced_json)
     195    public function restoreOriginalConfigClassicCheckout($replaced_json, $fragment_name)
    196196    {
    197197        if ($fragment_name === 'wc-stripe-upe-classic') {
     
    217217        $replaced_json = json_decode($replaced_json);
    218218        if ($fragment_name === 'wc-settings-encoded') {
    219             if (isset($replaced_json->paymentMethodData->stripe->blocksAppearance)) {
    220                 $rules = $replaced_json->paymentMethodData->stripe->blocksAppearance->rules;
     219            $blocksAppearance = $replaced_json->paymentMethodData->stripe->blocksAppearance ?? null;
     220            if ($blocksAppearance && is_array($blocksAppearance->rules ?? null)) {
     221                $rules = $blocksAppearance->rules;
    221222                $replaced_json->paymentMethodData->stripe->blocksAppearance->rules = $this->arrayToObject($rules);
    222223            }
  • linguise/trunk/vendor/composer/installed.php

    r3366846 r3371505  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '3d43db286724933049dae05905587dd8108a9002',
     6        'reference' => 'e9f6c24266aed9d03fa951c74185c1acbd71f814',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    3232            'pretty_version' => 'dev-master',
    3333            'version' => 'dev-master',
    34             'reference' => '3d43db286724933049dae05905587dd8108a9002',
     34            'reference' => 'e9f6c24266aed9d03fa951c74185c1acbd71f814',
    3535            'type' => 'library',
    3636            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.