Plugin Directory

Changeset 3795864


Ignore:
Timestamp:
11/11/2026 08:15:20 AM (less than one hour ago)
Author:
bandido
Message:

Version 1.0.12

Location:
mrkv-liqpay-extended
Files:
40 added
3 edited

Legend:

Unmodified
Added
Removed
  • mrkv-liqpay-extended/trunk/includes/class-morkva-liqpay-orders.php

    r3710708 r3795864  
    245245            public function mrkv_liqpay_add_meta_boxes($post_type, $post)
    246246            {
     247                        if ( ! class_exists( 'WooCommerce' ) ) {
     248                                return;
     249                        }
     250
    247251                # Check hpos
    248252                if(class_exists( CustomOrdersTableController::class )){
  • mrkv-liqpay-extended/trunk/mrkv-liqpay-extended.php

    r3765864 r3795864  
    33 * Plugin Name:morkva Liqpay Extended
    44 * Description: LiqPay Payment Gateway with callback by morkva
    5  * Version: 1.0.11
     5 * Version: 1.0.12
    66 * Tested up to: 7.1
    77 * Requires at least: 5.2
    … …  
    1313 * WC tested up to: 9.8.0
    1414 * Domain Path: /i18n
     15 * Requires Plugins: woocommerce
    1516 * License: GPLv2
    1617 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
    … …  
    3334require_once ABSPATH . 'wp-admin/includes/plugin.php';
    3435
    35 define ( 'LIQPAY_VERSION', '1.0.11' );
     36define ( 'LIQPAY_VERSION', '1.0.12' );
    3637define( 'LIQPAY_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
    3738define( 'LIQPAY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    … …  
    6869function mrkv_liqpay_styles_and_scripts()
    6970{
     71    if ( ! class_exists( 'WooCommerce' ) ) {
     72        return;
     73    }
    7074    $section = filter_input( INPUT_GET, 'section', FILTER_DEFAULT );
    7175   
    … …  
    8084function mrkv_liqpay_styles_and_scripts_front()
    8185{
    82     if ( is_checkout() )
     86    if ( class_exists( 'WooCommerce' ) && function_exists( 'is_checkout' ) && is_checkout() )
    8387    {
    8488        wp_enqueue_style('front-mrkv-liqpay', LIQPAY_PLUGIN_URL . '/css/morkva-liqpay-front.css', array(), LIQPAY_VERSION);
    … …  
    114118function mrkv_liqpay_extended_init_gateway_class()
    115119{
     120    if ( ! class_exists( 'WC_Payment_Gateway' ) )
     121    {
     122        return;
     123    }
     124
    116125    # Iclude Morkva Liqpay Gateway
    117126    require_once(__DIR__ . '/includes/class-wc-gateway-morkva-liqpay.php');
  • mrkv-liqpay-extended/trunk/readme.txt

    r3765864 r3795864  
    44Tags: LiqPay, Ликпей, Лікпей
    55Tested up to: 7.1
    6 Stable tag: 1.0.11
     6Stable tag: 1.0.12
    77WC tested up to: 9.8.0
    88License: GPLv2 or later
    … …  
    3434
    3535Потрібна підтримка чи додатковий функціонал? support@morkva.co.ua
     36
     37= 1.0.12 =
     38* [new] додали Requires Plugins: woocommerce
     39* [new] оновили перевірку наявності woocommerce
    3640
    3741= 1.0.11 =
Note: See TracChangeset for help on using the changeset viewer.