Skip to content

Commit da0b079

Browse files
stokesmant-hamanobphdanieliser
authored andcommitted
Ensure meta boxes are not hidden when legacy (#72220)
Unlinked contributors: krishaamer. Co-authored-by: stokesman <presstoke@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: bph <bph@git.wordpress.org> Co-authored-by: danieliser <danieliser@git.wordpress.org>
1 parent 9aef6d7 commit da0b079

File tree

1 file changed

+1
-1
lines changed
  • packages/edit-post/src/components/layout

1 file changed

+1
-1
lines changed

packages/edit-post/src/components/layout/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ function MetaBoxesMain( { isLegacy } ) {
265265
<div
266266
// The class name 'edit-post-layout__metaboxes' is retained because some plugins use it.
267267
className="edit-post-layout__metaboxes edit-post-meta-boxes-main__liner"
268-
hidden={ ! isOpen }
268+
hidden={ ! isLegacy && ! isOpen }
269269
>
270270
<MetaBoxes location="normal" />
271271
<MetaBoxes location="advanced" />

0 commit comments

Comments
 (0)