mirror of
https://github.com/10h30/woo-viet.git
synced 2026-07-11 10:46:14 +09:00
Hot fix - 1.5.1 - Fix the loading of WooViet_VND_PayPal_Standard
Reported in https://wordpress.org/support/topic/plugin-bi-loi-phan-chuyen-doi-tien-te-paypal/ Bug introduced in this line and commit https://github.com/htdat/woo-viet/commit/752f6c26f35c33ffede1f3da9d208ca0e74ae7d8#diff-69930de797b06bf012c5e6601f0f0caeR260
This commit is contained in:
+3
-3
@@ -7,10 +7,10 @@
|
||||
* Author URI: https://profiles.wordpress.org/htdat
|
||||
* Text Domain: woo-viet
|
||||
* Domain Path: /languages
|
||||
* Version: 1.5.0
|
||||
* Version: 1.5.1
|
||||
*
|
||||
* WC requires at least: 3.0
|
||||
* WC tested up to: 4.4.1
|
||||
* WC tested up to: 4.5.1
|
||||
*
|
||||
* License: GPLv2+
|
||||
*/
|
||||
@@ -257,7 +257,7 @@ class WooViet {
|
||||
|
||||
// Check if "Support VND for the PayPal Standard gateway" is enabled
|
||||
if ( 'yes' == $settings['vnd_paypal_standard']['enabled']
|
||||
AND class_exists( 'WC_Gateway_PPEC' )
|
||||
AND class_exists( 'WC_Gateway_Paypal' )
|
||||
AND 'VND' == get_woocommerce_currency()
|
||||
) {
|
||||
include( WOO_VIET_DIR . 'inc/class-wooviet-vnd-paypal-standard.php' );
|
||||
|
||||
Reference in New Issue
Block a user