Changeset 3371505
- Timestamp:
- 10/02/2025 03:22:28 AM (6 months ago)
- Location:
- linguise
- Files:
-
- 10 edited
- 1 copied
-
tags/2.1.73 (copied) (copied from linguise/trunk)
-
tags/2.1.73/linguise.php (modified) (1 diff)
-
tags/2.1.73/readme.txt (modified) (2 diffs)
-
tags/2.1.73/src/constants.php (modified) (1 diff)
-
tags/2.1.73/src/thirdparty/wc/gateway-stripe.php (modified) (2 diffs)
-
tags/2.1.73/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/linguise.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/constants.php (modified) (1 diff)
-
trunk/src/thirdparty/wc/gateway-stripe.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
linguise/tags/2.1.73/linguise.php
r3366846 r3371505 5 5 * Plugin URI: https://www.linguise.com/ 6 6 * Description: Linguise translation plugin 7 * Version:2.1.7 27 * Version:2.1.73 8 8 * Text Domain: linguise 9 9 * Domain Path: /languages -
linguise/tags/2.1.73/readme.txt
r3366846 r3371505 4 4 Requires at least: 4.0 5 5 Tested up to: 6.8 6 Stable tag:2.1.7 26 Stable tag:2.1.73 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 104 104 105 105 == Changelog == 106 = 2.1.73 = 107 - Fix: WooCommerce Stripe Gateway Issue: the credit card form not showing up 108 106 109 = 2.1.72 = 107 110 - Chore: Refactored fragment handler code -
linguise/tags/2.1.73/src/constants.php
r3366846 r3371505 1 1 <?php 2 2 if (!defined('LINGUISE_SCRIPT_TRANSLATION_VERSION')) { 3 define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.1.7 2');3 define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.1.73'); 4 4 } 5 5 6 6 if (!defined('LINGUISE_VERSION')) { 7 define('LINGUISE_VERSION', '2.1.7 2');7 define('LINGUISE_VERSION', '2.1.73'); 8 8 } -
linguise/tags/2.1.73/src/thirdparty/wc/gateway-stripe.php
r3358294 r3371505 188 188 * changed into an array 189 189 * 190 * @param array $replaced_json The fragment being translated. 190 191 * @param string $fragment_name The name of the fragment being translated. 191 * @param array $replaced_json The fragment being translated.192 192 * 193 193 * @return array The original block appearance structure. 194 194 */ 195 public function restoreOriginalConfigClassicCheckout($ fragment_name, $replaced_json)195 public function restoreOriginalConfigClassicCheckout($replaced_json, $fragment_name) 196 196 { 197 197 if ($fragment_name === 'wc-stripe-upe-classic') { … … 217 217 $replaced_json = json_decode($replaced_json); 218 218 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; 221 222 $replaced_json->paymentMethodData->stripe->blocksAppearance->rules = $this->arrayToObject($rules); 222 223 } -
linguise/tags/2.1.73/vendor/composer/installed.php
r3366846 r3371505 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 3d43db286724933049dae05905587dd8108a9002',6 'reference' => 'e9f6c24266aed9d03fa951c74185c1acbd71f814', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 32 32 'pretty_version' => 'dev-master', 33 33 'version' => 'dev-master', 34 'reference' => ' 3d43db286724933049dae05905587dd8108a9002',34 'reference' => 'e9f6c24266aed9d03fa951c74185c1acbd71f814', 35 35 'type' => 'library', 36 36 'install_path' => __DIR__ . '/../../', -
linguise/trunk/linguise.php
r3366846 r3371505 5 5 * Plugin URI: https://www.linguise.com/ 6 6 * Description: Linguise translation plugin 7 * Version:2.1.7 27 * Version:2.1.73 8 8 * Text Domain: linguise 9 9 * Domain Path: /languages -
linguise/trunk/readme.txt
r3366846 r3371505 4 4 Requires at least: 4.0 5 5 Tested up to: 6.8 6 Stable tag:2.1.7 26 Stable tag:2.1.73 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 104 104 105 105 == Changelog == 106 = 2.1.73 = 107 - Fix: WooCommerce Stripe Gateway Issue: the credit card form not showing up 108 106 109 = 2.1.72 = 107 110 - Chore: Refactored fragment handler code -
linguise/trunk/src/constants.php
r3366846 r3371505 1 1 <?php 2 2 if (!defined('LINGUISE_SCRIPT_TRANSLATION_VERSION')) { 3 define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.1.7 2');3 define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.1.73'); 4 4 } 5 5 6 6 if (!defined('LINGUISE_VERSION')) { 7 define('LINGUISE_VERSION', '2.1.7 2');7 define('LINGUISE_VERSION', '2.1.73'); 8 8 } -
linguise/trunk/src/thirdparty/wc/gateway-stripe.php
r3358294 r3371505 188 188 * changed into an array 189 189 * 190 * @param array $replaced_json The fragment being translated. 190 191 * @param string $fragment_name The name of the fragment being translated. 191 * @param array $replaced_json The fragment being translated.192 192 * 193 193 * @return array The original block appearance structure. 194 194 */ 195 public function restoreOriginalConfigClassicCheckout($ fragment_name, $replaced_json)195 public function restoreOriginalConfigClassicCheckout($replaced_json, $fragment_name) 196 196 { 197 197 if ($fragment_name === 'wc-stripe-upe-classic') { … … 217 217 $replaced_json = json_decode($replaced_json); 218 218 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; 221 222 $replaced_json->paymentMethodData->stripe->blocksAppearance->rules = $this->arrayToObject($rules); 222 223 } -
linguise/trunk/vendor/composer/installed.php
r3366846 r3371505 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 3d43db286724933049dae05905587dd8108a9002',6 'reference' => 'e9f6c24266aed9d03fa951c74185c1acbd71f814', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 32 32 'pretty_version' => 'dev-master', 33 33 'version' => 'dev-master', 34 'reference' => ' 3d43db286724933049dae05905587dd8108a9002',34 'reference' => 'e9f6c24266aed9d03fa951c74185c1acbd71f814', 35 35 'type' => 'library', 36 36 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.