Plugin Directory

Changeset 2320258


Ignore:
Timestamp:
06/08/2020 01:57:04 PM (6 years ago)
Author:
aplazame
Message:

tagging version 2.2.1

Location:
aplazame
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • aplazame/tags/2.2.1/README.txt

    r2317945 r2320258  
    55Tested up to: 5.4.1
    66Requires PHP: 5.3.0
    7 Stable tag: 2.2.0
     7Stable tag: 2.2.1
    88License: BSD-3-Clause
    99License URI: https://github.com/aplazame/woocommerce/blob/master/LICENSE
     
    7777
    7878== Changelog ==
     79
     80#### [v2.2.1](https://github.com/aplazame/woocommerce/tree/v2.2.1) (2020-06-08)
     81
     82* [FIX] Retro-compatibility issue.
    7983
    8084#### [v2.2.0](https://github.com/aplazame/woocommerce/tree/v2.2.0) (2020-06-04)
  • aplazame/tags/2.2.1/aplazame.php

    r2317945 r2320258  
    33 * Plugin Name: Aplazame
    44 * Plugin URI: https://github.com/aplazame/woocommerce
    5  * Version: 2.2.0
     5 * Version: 2.2.1
    66 * Description: Aplazame offers a payment method to receive funding for the purchases.
    77 * Author: Aplazame
     
    2626
    2727class WC_Aplazame {
    28     const VERSION      = '2.2.0';
     28    const VERSION      = '2.2.1';
    2929    const METHOD_ID    = 'aplazame';
    3030    const METHOD_TITLE = 'Aplazame';
     
    316316    protected static function is_aplazame_order( $order_id ) {
    317317        $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;
    319319    }
    320320
     
    327327    protected static function is_aplazame_pay_later_order( $order_id ) {
    328328        $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;
    330330    }
    331331
  • aplazame/tags/2.2.1/i18n/languages/aplazame.pot

    r2317945 r2320258  
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: Aplazame v2.2.0\n"
     9"Project-Id-Version: Aplazame v2.2.1\n"
    1010"Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n"
    11 "POT-Creation-Date: 2020-06-04 09:35+0000\n"
     11"POT-Creation-Date: 2020-06-08 13:50+0000\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • aplazame/tags/2.2.1/lib/Aplazame/Aplazame/Api/BusinessModel/HistoricalOrder.php

    r2216992 r2320258  
    4141            'meta'     => Aplazame_Aplazame_BusinessModel_Meta::create(),
    4242            'payment'  => array(
    43                 'method' => $order->get_payment_method(),
     43                'method' => WC_Aplazame::_m_or_a( $order, 'get_payment_method', 'payment_method' ),
    4444                'status' => $payment_status,
    4545            ),
  • aplazame/trunk/README.txt

    r2317945 r2320258  
    55Tested up to: 5.4.1
    66Requires PHP: 5.3.0
    7 Stable tag: 2.2.0
     7Stable tag: 2.2.1
    88License: BSD-3-Clause
    99License URI: https://github.com/aplazame/woocommerce/blob/master/LICENSE
     
    7777
    7878== Changelog ==
     79
     80#### [v2.2.1](https://github.com/aplazame/woocommerce/tree/v2.2.1) (2020-06-08)
     81
     82* [FIX] Retro-compatibility issue.
    7983
    8084#### [v2.2.0](https://github.com/aplazame/woocommerce/tree/v2.2.0) (2020-06-04)
  • aplazame/trunk/aplazame.php

    r2317945 r2320258  
    33 * Plugin Name: Aplazame
    44 * Plugin URI: https://github.com/aplazame/woocommerce
    5  * Version: 2.2.0
     5 * Version: 2.2.1
    66 * Description: Aplazame offers a payment method to receive funding for the purchases.
    77 * Author: Aplazame
     
    2626
    2727class WC_Aplazame {
    28     const VERSION      = '2.2.0';
     28    const VERSION      = '2.2.1';
    2929    const METHOD_ID    = 'aplazame';
    3030    const METHOD_TITLE = 'Aplazame';
     
    316316    protected static function is_aplazame_order( $order_id ) {
    317317        $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;
    319319    }
    320320
     
    327327    protected static function is_aplazame_pay_later_order( $order_id ) {
    328328        $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;
    330330    }
    331331
  • aplazame/trunk/i18n/languages/aplazame.pot

    r2317945 r2320258  
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: Aplazame v2.2.0\n"
     9"Project-Id-Version: Aplazame v2.2.1\n"
    1010"Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n"
    11 "POT-Creation-Date: 2020-06-04 09:35+0000\n"
     11"POT-Creation-Date: 2020-06-08 13:50+0000\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • aplazame/trunk/lib/Aplazame/Aplazame/Api/BusinessModel/HistoricalOrder.php

    r2216992 r2320258  
    4141            'meta'     => Aplazame_Aplazame_BusinessModel_Meta::create(),
    4242            'payment'  => array(
    43                 'method' => $order->get_payment_method(),
     43                'method' => WC_Aplazame::_m_or_a( $order, 'get_payment_method', 'payment_method' ),
    4444                'status' => $payment_status,
    4545            ),
Note: See TracChangeset for help on using the changeset viewer.