Changeset 2787604
- Timestamp:
- 09/20/2022 11:49:46 AM (4 years ago)
- Location:
- omise
- Files:
-
- 8 edited
- 1 copied
-
tags/4.24.2 (copied) (copied from omise/trunk)
-
tags/4.24.2/CHANGELOG.md (modified) (1 diff)
-
tags/4.24.2/includes/class-omise-capabilities.php (modified) (2 diffs)
-
tags/4.24.2/omise-woocommerce.php (modified) (2 diffs)
-
tags/4.24.2/readme.txt (modified) (2 diffs)
-
trunk/CHANGELOG.md (modified) (1 diff)
-
trunk/includes/class-omise-capabilities.php (modified) (2 diffs)
-
trunk/omise-woocommerce.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
omise/tags/4.24.2/CHANGELOG.md
r2785289 r2787604 1 1 # CHANGELOG 2 3 4 ### [v4.24.2 _(Sep 20, 2022)_](https://github.com/omise/omise-woocommerce/releases/tag/v4.24.2) 5 - Fix the issue of not being able to add new live keys. (PR [#313](https://github.com/omise/omise-woocommerce/pull/313)) 2 6 3 7 ### [v4.24.1 _(Sep 15, 2022)_](https://github.com/omise/omise-woocommerce/releases/tag/v4.24.1) -
omise/tags/4.24.2/includes/class-omise-capabilities.php
r2785289 r2787604 36 36 public static function retrieve($pKey = null, $sKey = null) 37 37 { 38 $settings = Omise_Setting::instance();39 $publicKey = !$pKey ? $settings->public_key() : $pKey;40 $secretKey = !$sKey ? $settings->secret_key() : $sKey;41 42 38 $keys = self::getKeys($pKey, $sKey); 43 39 … … 79 75 private static function getKeys($pKey = null, $sKey = null) 80 76 { 77 // Check if user has submitted a form 78 if ( ! empty( $_POST ) && isset($_POST['submit']) && $_POST['submit'] === 'Save Settings' ) { 79 return self::getUserEnteredKeys(); 80 } 81 81 82 $settings = Omise_Setting::instance(); 82 83 // Check if user has submitted a form84 if ( ! empty( $_POST ) && isset($_POST['sandbox']) && isset($_POST['test_public_key']) ) {85 return self::getUserEnteredKeys();86 }87 83 88 84 return [ -
omise/tags/4.24.2/omise-woocommerce.php
r2785289 r2787604 4 4 * Plugin URI: https://www.omise.co/woocommerce 5 5 * Description: Omise WooCommerce Gateway Plugin is a WordPress plugin designed specifically for WooCommerce. The plugin adds support for Omise Payment Gateway payment method to WooCommerce. 6 * Version: 4.24. 16 * Version: 4.24.2 7 7 * Author: Omise and contributors 8 8 * Author URI: https://github.com/omise/omise-woocommerce/graphs/contributors … … 21 21 * @var string 22 22 */ 23 public $version = '4.24. 1';23 public $version = '4.24.2'; 24 24 25 25 /** -
omise/tags/4.24.2/readme.txt
r2785289 r2787604 4 4 Requires at least: 4.3.1 5 5 Tested up to: 6.0.2 6 Stable tag: 4.24. 16 Stable tag: 4.24.2 7 7 License: MIT 8 8 License URI: https://opensource.org/licenses/MIT … … 33 33 34 34 == Changelog == 35 36 = 4.24.2 = 37 38 #### 👾 Bug Fixes 39 - Fix the issue of not being able to add new live keys. (PR [#313](https://github.com/omise/omise-woocommerce/pull/313)) 35 40 36 41 = 4.24.1 = -
omise/trunk/CHANGELOG.md
r2785289 r2787604 1 1 # CHANGELOG 2 3 4 ### [v4.24.2 _(Sep 20, 2022)_](https://github.com/omise/omise-woocommerce/releases/tag/v4.24.2) 5 - Fix the issue of not being able to add new live keys. (PR [#313](https://github.com/omise/omise-woocommerce/pull/313)) 2 6 3 7 ### [v4.24.1 _(Sep 15, 2022)_](https://github.com/omise/omise-woocommerce/releases/tag/v4.24.1) -
omise/trunk/includes/class-omise-capabilities.php
r2785289 r2787604 36 36 public static function retrieve($pKey = null, $sKey = null) 37 37 { 38 $settings = Omise_Setting::instance();39 $publicKey = !$pKey ? $settings->public_key() : $pKey;40 $secretKey = !$sKey ? $settings->secret_key() : $sKey;41 42 38 $keys = self::getKeys($pKey, $sKey); 43 39 … … 79 75 private static function getKeys($pKey = null, $sKey = null) 80 76 { 77 // Check if user has submitted a form 78 if ( ! empty( $_POST ) && isset($_POST['submit']) && $_POST['submit'] === 'Save Settings' ) { 79 return self::getUserEnteredKeys(); 80 } 81 81 82 $settings = Omise_Setting::instance(); 82 83 // Check if user has submitted a form84 if ( ! empty( $_POST ) && isset($_POST['sandbox']) && isset($_POST['test_public_key']) ) {85 return self::getUserEnteredKeys();86 }87 83 88 84 return [ -
omise/trunk/omise-woocommerce.php
r2785289 r2787604 4 4 * Plugin URI: https://www.omise.co/woocommerce 5 5 * Description: Omise WooCommerce Gateway Plugin is a WordPress plugin designed specifically for WooCommerce. The plugin adds support for Omise Payment Gateway payment method to WooCommerce. 6 * Version: 4.24. 16 * Version: 4.24.2 7 7 * Author: Omise and contributors 8 8 * Author URI: https://github.com/omise/omise-woocommerce/graphs/contributors … … 21 21 * @var string 22 22 */ 23 public $version = '4.24. 1';23 public $version = '4.24.2'; 24 24 25 25 /** -
omise/trunk/readme.txt
r2785289 r2787604 4 4 Requires at least: 4.3.1 5 5 Tested up to: 6.0.2 6 Stable tag: 4.24. 16 Stable tag: 4.24.2 7 7 License: MIT 8 8 License URI: https://opensource.org/licenses/MIT … … 33 33 34 34 == Changelog == 35 36 = 4.24.2 = 37 38 #### 👾 Bug Fixes 39 - Fix the issue of not being able to add new live keys. (PR [#313](https://github.com/omise/omise-woocommerce/pull/313)) 35 40 36 41 = 4.24.1 =
Note: See TracChangeset
for help on using the changeset viewer.