Plugin Directory

Changeset 3095040


Ignore:
Timestamp:
05/30/2024 09:03:59 AM (22 months ago)
Author:
monei
Message:

Update to version 5.8.11 from GitHub

Location:
monei
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • monei/tags/5.8.11/class-woocommerce-gateway-monei.php

    r3093323 r3095040  
    66 * @category Core
    77 * @package  Woocommerce_Gateway_Monei
    8  * @version  5.8.10
     8 * @version  5.8.11
    99 */
    1010if ( ! class_exists( 'Woocommerce_Gateway_Monei' ) ) :
     
    1717         * @var string
    1818         */
    19         public $version = '5.8.10';
     19        public $version = '5.8.11';
    2020
    2121        /**
  • monei/tags/5.8.11/readme.txt

    r3093323 r3095040  
    44Requires at least: 5.0
    55Tested up to: 6.5.3
    6 Stable tag: 5.8.10
     6Stable tag: 5.8.11
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    102102
    103103== Changelog ==
    104 = 5.8.10 =
     104= 5.8.11 =
    105105* Fix partial refunds
    106106
    107 = 5.8.10 =
     107= 5.8.11 =
    108108* Update dependencies
    109109
  • monei/tags/5.8.11/woocommerce-gateway-monei.php

    r3093323 r3095040  
    33 * MONEI Payments for WooCommerce
    44 *
    5  * @package MONEI Payments
    6  * @author MONEI
     5 * @package   MONEI Payments
     6 * @author    MONEI
    77 * @copyright 2020-2020 MONEI
    8  * @license GPL-2.0+
     8 * @license   GPL-2.0+
    99 *
    1010 * Plugin Name: MONEI Payments for WooCommerce
    1111 * Plugin URI: https://wordpress.org/plugins/monei/
    1212 * Description: Accept Card, Apple Pay, Google Pay, Bizum, PayPal and many more payment methods in your store.
    13  * Version: 5.8.10
     13 * Version: 5.8.11
    1414 * Author: MONEI
    1515 * Author URI: https://www.monei.com/
     
    2626
    2727// If this file is called directly, abort.
    28 if ( ! defined( 'ABSPATH' ) ) {
    29     exit; // Exit if accessed directly.
     28if ( !defined( 'ABSPATH' ) ) {
     29    exit; // Exit if accessed directly.
    3030}
    3131
     
    3333define( 'MONEI_PLUGIN_FILE', __FILE__ );
    3434
     35/**
     36 * Add compatibility with WooCommerce HPOS.
     37 */
     38add_action( 'before_woocommerce_init', function () {
     39    if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     40        \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
     41    }
     42} );
     43
    3544require_once 'class-woocommerce-gateway-monei.php';
    3645function WC_Monei() {
    37     return Woocommerce_Gateway_Monei::instance();
     46    return Woocommerce_Gateway_Monei::instance();
    3847}
    3948
  • monei/trunk/class-woocommerce-gateway-monei.php

    r3093323 r3095040  
    66 * @category Core
    77 * @package  Woocommerce_Gateway_Monei
    8  * @version  5.8.10
     8 * @version  5.8.11
    99 */
    1010if ( ! class_exists( 'Woocommerce_Gateway_Monei' ) ) :
     
    1717         * @var string
    1818         */
    19         public $version = '5.8.10';
     19        public $version = '5.8.11';
    2020
    2121        /**
  • monei/trunk/readme.txt

    r3093323 r3095040  
    44Requires at least: 5.0
    55Tested up to: 6.5.3
    6 Stable tag: 5.8.10
     6Stable tag: 5.8.11
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    102102
    103103== Changelog ==
    104 = 5.8.10 =
     104= 5.8.11 =
    105105* Fix partial refunds
    106106
    107 = 5.8.10 =
     107= 5.8.11 =
    108108* Update dependencies
    109109
  • monei/trunk/woocommerce-gateway-monei.php

    r3093323 r3095040  
    33 * MONEI Payments for WooCommerce
    44 *
    5  * @package MONEI Payments
    6  * @author MONEI
     5 * @package   MONEI Payments
     6 * @author    MONEI
    77 * @copyright 2020-2020 MONEI
    8  * @license GPL-2.0+
     8 * @license   GPL-2.0+
    99 *
    1010 * Plugin Name: MONEI Payments for WooCommerce
    1111 * Plugin URI: https://wordpress.org/plugins/monei/
    1212 * Description: Accept Card, Apple Pay, Google Pay, Bizum, PayPal and many more payment methods in your store.
    13  * Version: 5.8.10
     13 * Version: 5.8.11
    1414 * Author: MONEI
    1515 * Author URI: https://www.monei.com/
     
    2626
    2727// If this file is called directly, abort.
    28 if ( ! defined( 'ABSPATH' ) ) {
    29     exit; // Exit if accessed directly.
     28if ( !defined( 'ABSPATH' ) ) {
     29    exit; // Exit if accessed directly.
    3030}
    3131
     
    3333define( 'MONEI_PLUGIN_FILE', __FILE__ );
    3434
     35/**
     36 * Add compatibility with WooCommerce HPOS.
     37 */
     38add_action( 'before_woocommerce_init', function () {
     39    if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     40        \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
     41    }
     42} );
     43
    3544require_once 'class-woocommerce-gateway-monei.php';
    3645function WC_Monei() {
    37     return Woocommerce_Gateway_Monei::instance();
     46    return Woocommerce_Gateway_Monei::instance();
    3847}
    3948
Note: See TracChangeset for help on using the changeset viewer.