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
+4
View File
@@ -8,6 +8,10 @@ Xem phiên bản tiếng Việt tại đây https://vi.wordpress.org/plugins/woo
## Changelog
### 1.5.1 - 2020.09.13
* Fix the loading of WooViet_VND_PayPal_Standard
### 1.5.0 - 2020.09.10
* Add the OnePay international gateway #74
+1 -1
View File
@@ -4,7 +4,7 @@ Tags: OnePay WooCommerce, OnePay Vietnam, WooCommerce Vietnam, vietnam, vietname
Requires at least: 4.3
Tested up to: 5.5.1
Requires PHP: 5.6
Stable tag: 1.5.0
Stable tag: 1.5.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
+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' );