Fixed function signature and re-ran unit tests locally

Also stick to the commenting standard
This commit is contained in:
geektzu 2021-05-21 18:04:35 +12:00
parent a0ef53dd71
commit 3ee412155b
1 changed files with 2 additions and 2 deletions

View File

@ -620,8 +620,8 @@ class WC_Install {
add_option( 'woocommerce_demo_store', 'no', '', 'no' );
// Define initial tax classes.
if (is_new_install()) {
//Moved behind only for new install
if ( self::is_new_install() ) {
// Moved behind only for new install.
WC_Tax::create_tax_class( __( 'Reduced rate', 'woocommerce' ) );
WC_Tax::create_tax_class( __( 'Zero rate', 'woocommerce' ) );
}