diff --git a/includes/wc-core-functions.php b/includes/wc-core-functions.php index 10107e8149c..d50bb9f66ca 100644 --- a/includes/wc-core-functions.php +++ b/includes/wc-core-functions.php @@ -69,7 +69,7 @@ function wc_get_template_part( $slug, $name = '' ) { // Allow 3rd party plugin filter template file from their plugin $template = apply_filters( 'wc_get_template_part', $template, $slug, $name ); - + if ( $template ) load_template( $template, false ); } @@ -315,7 +315,7 @@ function wc_print_js() { if ( ! empty( $wc_queued_js ) ) { - echo "\n