Changeset 2320258
- Timestamp:
- 06/08/2020 01:57:04 PM (6 years ago)
- Location:
- aplazame
- Files:
-
- 8 edited
- 1 copied
-
tags/2.2.1 (copied) (copied from aplazame/trunk)
-
tags/2.2.1/README.txt (modified) (2 diffs)
-
tags/2.2.1/aplazame.php (modified) (4 diffs)
-
tags/2.2.1/i18n/languages/aplazame.pot (modified) (1 diff)
-
tags/2.2.1/lib/Aplazame/Aplazame/Api/BusinessModel/HistoricalOrder.php (modified) (1 diff)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/aplazame.php (modified) (4 diffs)
-
trunk/i18n/languages/aplazame.pot (modified) (1 diff)
-
trunk/lib/Aplazame/Aplazame/Api/BusinessModel/HistoricalOrder.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
aplazame/tags/2.2.1/README.txt
r2317945 r2320258 5 5 Tested up to: 5.4.1 6 6 Requires PHP: 5.3.0 7 Stable tag: 2.2. 07 Stable tag: 2.2.1 8 8 License: BSD-3-Clause 9 9 License URI: https://github.com/aplazame/woocommerce/blob/master/LICENSE … … 77 77 78 78 == Changelog == 79 80 #### [v2.2.1](https://github.com/aplazame/woocommerce/tree/v2.2.1) (2020-06-08) 81 82 * [FIX] Retro-compatibility issue. 79 83 80 84 #### [v2.2.0](https://github.com/aplazame/woocommerce/tree/v2.2.0) (2020-06-04) -
aplazame/tags/2.2.1/aplazame.php
r2317945 r2320258 3 3 * Plugin Name: Aplazame 4 4 * Plugin URI: https://github.com/aplazame/woocommerce 5 * Version: 2.2. 05 * Version: 2.2.1 6 6 * Description: Aplazame offers a payment method to receive funding for the purchases. 7 7 * Author: Aplazame … … 26 26 27 27 class WC_Aplazame { 28 const VERSION = '2.2. 0';28 const VERSION = '2.2.1'; 29 29 const METHOD_ID = 'aplazame'; 30 30 const METHOD_TITLE = 'Aplazame'; … … 316 316 protected static function is_aplazame_order( $order_id ) { 317 317 $order = wc_get_order( $order_id ); 318 return $order->get_payment_method() === self::METHOD_ID;318 return self::_m_or_a( $order, 'get_payment_method', 'payment_method' ) === self::METHOD_ID; 319 319 } 320 320 … … 327 327 protected static function is_aplazame_pay_later_order( $order_id ) { 328 328 $order = wc_get_order( $order_id ); 329 return $order->get_payment_method() === self::METHOD_ID . '_' . self::PAY_LATER;329 return self::_m_or_a( $order, 'get_payment_method', 'payment_method' ) === self::METHOD_ID . '_' . self::PAY_LATER; 330 330 } 331 331 -
aplazame/tags/2.2.1/i18n/languages/aplazame.pot
r2317945 r2320258 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: Aplazame v2.2. 0\n"9 "Project-Id-Version: Aplazame v2.2.1\n" 10 10 "Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n" 11 "POT-Creation-Date: 2020-06-0 4 09:35+0000\n"11 "POT-Creation-Date: 2020-06-08 13:50+0000\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -
aplazame/tags/2.2.1/lib/Aplazame/Aplazame/Api/BusinessModel/HistoricalOrder.php
r2216992 r2320258 41 41 'meta' => Aplazame_Aplazame_BusinessModel_Meta::create(), 42 42 'payment' => array( 43 'method' => $order->get_payment_method(),43 'method' => WC_Aplazame::_m_or_a( $order, 'get_payment_method', 'payment_method' ), 44 44 'status' => $payment_status, 45 45 ), -
aplazame/trunk/README.txt
r2317945 r2320258 5 5 Tested up to: 5.4.1 6 6 Requires PHP: 5.3.0 7 Stable tag: 2.2. 07 Stable tag: 2.2.1 8 8 License: BSD-3-Clause 9 9 License URI: https://github.com/aplazame/woocommerce/blob/master/LICENSE … … 77 77 78 78 == Changelog == 79 80 #### [v2.2.1](https://github.com/aplazame/woocommerce/tree/v2.2.1) (2020-06-08) 81 82 * [FIX] Retro-compatibility issue. 79 83 80 84 #### [v2.2.0](https://github.com/aplazame/woocommerce/tree/v2.2.0) (2020-06-04) -
aplazame/trunk/aplazame.php
r2317945 r2320258 3 3 * Plugin Name: Aplazame 4 4 * Plugin URI: https://github.com/aplazame/woocommerce 5 * Version: 2.2. 05 * Version: 2.2.1 6 6 * Description: Aplazame offers a payment method to receive funding for the purchases. 7 7 * Author: Aplazame … … 26 26 27 27 class WC_Aplazame { 28 const VERSION = '2.2. 0';28 const VERSION = '2.2.1'; 29 29 const METHOD_ID = 'aplazame'; 30 30 const METHOD_TITLE = 'Aplazame'; … … 316 316 protected static function is_aplazame_order( $order_id ) { 317 317 $order = wc_get_order( $order_id ); 318 return $order->get_payment_method() === self::METHOD_ID;318 return self::_m_or_a( $order, 'get_payment_method', 'payment_method' ) === self::METHOD_ID; 319 319 } 320 320 … … 327 327 protected static function is_aplazame_pay_later_order( $order_id ) { 328 328 $order = wc_get_order( $order_id ); 329 return $order->get_payment_method() === self::METHOD_ID . '_' . self::PAY_LATER;329 return self::_m_or_a( $order, 'get_payment_method', 'payment_method' ) === self::METHOD_ID . '_' . self::PAY_LATER; 330 330 } 331 331 -
aplazame/trunk/i18n/languages/aplazame.pot
r2317945 r2320258 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: Aplazame v2.2. 0\n"9 "Project-Id-Version: Aplazame v2.2.1\n" 10 10 "Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n" 11 "POT-Creation-Date: 2020-06-0 4 09:35+0000\n"11 "POT-Creation-Date: 2020-06-08 13:50+0000\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -
aplazame/trunk/lib/Aplazame/Aplazame/Api/BusinessModel/HistoricalOrder.php
r2216992 r2320258 41 41 'meta' => Aplazame_Aplazame_BusinessModel_Meta::create(), 42 42 'payment' => array( 43 'method' => $order->get_payment_method(),43 'method' => WC_Aplazame::_m_or_a( $order, 'get_payment_method', 'payment_method' ), 44 44 'status' => $payment_status, 45 45 ),
Note: See TracChangeset
for help on using the changeset viewer.