Hidden tag inconsistency (#45679)

* Header tag Hidden now is aligned with the Visibility: Hidden from the pre publish modal

* Add changelog file
This commit is contained in:
Maikel Perez 2024-03-19 13:16:34 -03:00 committed by GitHub
parent 506a8b0086
commit 617b49464e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Header tag Hidden now is aligned with the Visibility: Hidden from the pre publish modal

View File

@ -134,7 +134,7 @@ export function Header( {
);
}
if (
( productStatus !== 'future' && catalogVisibility === 'hidden' ) ||
( productStatus !== 'future' && catalogVisibility !== 'visible' ) ||
( isVariation && productStatus === 'private' )
) {
tags.push(