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:
Dat Hoang
2020-09-13 08:43:38 +07:00
parent 90543c378d
commit 69a51f43ea
3 changed files with 8 additions and 4 deletions
+3 -3
View File
@@ -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' );