From 3b90d99d44207dadbae229aa87ea5515005e4de0 Mon Sep 17 00:00:00 2001 From: Romario Date: Wed, 26 Aug 2020 14:58:22 -0500 Subject: [PATCH] Change 'dirname( __FILE__ )' to '__DIR__ ' and include '/' Co-authored-by: Claudio Sanches --- includes/admin/settings/class-wc-settings-tax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/settings/class-wc-settings-tax.php b/includes/admin/settings/class-wc-settings-tax.php index 5ecb1cd0455..6939d873846 100644 --- a/includes/admin/settings/class-wc-settings-tax.php +++ b/includes/admin/settings/class-wc-settings-tax.php @@ -237,7 +237,7 @@ class WC_Settings_Tax extends WC_Settings_Page { ); wp_enqueue_script( 'wc-settings-tax' ); - include dirname( __FILE__ ) . 'views/html-settings-tax.php'; + include __DIR__ . '/views/html-settings-tax.php'; } /**