Change 'dirname( __FILE__ )' to '__DIR__ ' and include '/'

Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
This commit is contained in:
Romario 2020-08-26 14:58:22 -05:00 committed by GitHub
parent acfb3e5dfd
commit 3b90d99d44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ class WC_Settings_Tax extends WC_Settings_Page {
); );
wp_enqueue_script( 'wc-settings-tax' ); wp_enqueue_script( 'wc-settings-tax' );
include dirname( __FILE__ ) . 'views/html-settings-tax.php'; include __DIR__ . '/views/html-settings-tax.php';
} }
/** /**