Fixing home item appearing in extensions menu on Woo Navigation (https://github.com/woocommerce/woocommerce-admin/pull/8432)

This commit is contained in:
Joel Thiessen 2022-03-09 08:07:29 -08:00 committed by GitHub
parent c65d43a35e
commit db258aeb10
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ class CoreMenu {
}
$home_item = array();
if ( defined( '\Automattic\WooCommerce\Internal\Admin\Features\Homescreen::MENU_SLUG' ) ) {
if ( defined( '\Automattic\WooCommerce\Internal\Admin\Homescreen::MENU_SLUG' ) ) {
$home_item = array(
'id' => 'woocommerce-home',
'title' => __( 'Home', 'woocommerce-admin' ),