Change 'dirname( __FILE__ )' to '__DIR__ ' and include '/'
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
This commit is contained in:
parent
acfb3e5dfd
commit
3b90d99d44
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue