From 87edceabf3ea30a96215f293854f7e61add20510 Mon Sep 17 00:00:00 2001 From: Joshua T Flowers Date: Thu, 14 Nov 2019 13:05:28 +0800 Subject: [PATCH] Fix header error in homepage template (https://github.com/woocommerce/woocommerce-admin/pull/3231) --- plugins/woocommerce-admin/src/API/OnboardingTasks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce-admin/src/API/OnboardingTasks.php b/plugins/woocommerce-admin/src/API/OnboardingTasks.php index 15e36ca55b5..6194f371ca1 100644 --- a/plugins/woocommerce-admin/src/API/OnboardingTasks.php +++ b/plugins/woocommerce-admin/src/API/OnboardingTasks.php @@ -118,7 +118,7 @@ class OnboardingTasks extends \WC_REST_Data_Controller { if ( file_exists( $file ) && class_exists( 'WC_Product_CSV_Importer' ) ) { // Override locale so we can return mappings from WooCommerce in English language stores. global $locale; - $locale = false; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited + $locale = false; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited $importer_class = apply_filters( 'woocommerce_product_csv_importer_class', 'WC_Product_CSV_Importer' ); $args = array( 'parse' => true, @@ -298,7 +298,7 @@ class OnboardingTasks extends \WC_REST_Data_Controller { return $cover . ' -

' . __( 'New products', 'woocommerce-admin' ) . '

+

' . __( 'New Products', 'woocommerce-admin' ) . '

' .