mirror of
https://github.com/woocommerce/storefront.git
synced 2025-08-21 04:11:59 +08:00
Only hide nux notice on new post pages
This commit is contained in:
parent
c163f8a3af
commit
08bc9ef191
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ if ( ! class_exists( 'Storefront_NUX_Admin' ) ) :
|
||||||
}
|
}
|
||||||
|
|
||||||
// Coming from the WooCommerce Wizard?
|
// Coming from the WooCommerce Wizard?
|
||||||
if ( wp_get_referer() && 'index.php?page=wc-setup&step=next_steps' === basename( wp_get_referer() ) ) {
|
if ( wp_get_referer() && 'index.php?page=wc-setup&step=next_steps' === basename( wp_get_referer() ) && 'post-new.php' === $pagenow ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue