Plugin Directory

Changeset 3207289


Ignore:
Timestamp:
12/13/2024 03:27:59 AM (16 months ago)
Author:
webimpian
Message:

Fix bug

Location:
bayarcash-wc
Files:
381 added
3 edited

Legend:

Unmodified
Added
Removed
  • bayarcash-wc/trunk/bayarcash-wc.php

    r3206084 r3207289  
    1313 * Plugin Name:         Bayarcash WC
    1414 * Plugin URI:          https://bayarcash.com/
    15  * Version:             4.3.0
     15 * Version:             4.3.1
    1616 * Description:         Accept payment from Malaysia. Bayarcash support FPX, Direct Debit, DuitNow OBW & DuitNow QR payment channels.
    1717 * Author:              Web Impian
  • bayarcash-wc/trunk/includes/src/Bayarcash.php

    r3206084 r3207289  
    113113            function ($hook) {
    114114                if (!$this->is_woocommerce_activated()) {
     115                    return;
     116                }
     117
     118                // Check if we're on the WooCommerce settings page with checkout tab
     119                $page = isset($_GET['page']) ? sanitize_text_field($_GET['page']) : '';
     120                $tab = isset($_GET['tab']) ? sanitize_text_field($_GET['tab']) : '';
     121
     122                if ($page !== 'wc-settings' || $tab !== 'checkout') {
    115123                    return;
    116124                }
  • bayarcash-wc/trunk/readme.txt

    r3206084 r3207289  
    55Tested up to: 6.7
    66Requires PHP: 7.4
    7 Stable tag: 4.3.0
     7Stable tag: 4.3.1
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.txt
     
    8989== Changelog ==
    9090
     91= 4.3.1 =
     92* Resolved compatibility issues with the SeedProd plugin
     93
    9194= 4.3.0 =
    9295* Implemented WooCommerce Checkout Block compatibility
Note: See TracChangeset for help on using the changeset viewer.