From 8df931328a3d6378e75c150ec87cee55d525073c Mon Sep 17 00:00:00 2001 From: Mitchell Austin Date: Thu, 12 Sep 2024 21:01:12 -0700 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20omit=20main=20meta=20box=20area?= =?UTF-8?q?=20unless=20all=20locations=20aren=E2=80=99t=20visible?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/edit-post/src/components/layout/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/edit-post/src/components/layout/index.js b/packages/edit-post/src/components/layout/index.js index 425b7dfb956d0..2cbf5c32e814b 100644 --- a/packages/edit-post/src/components/layout/index.js +++ b/packages/edit-post/src/components/layout/index.js @@ -168,7 +168,8 @@ function MetaBoxesMain( { isLegacy } ) { get( 'core/edit-post', 'metaBoxesMainIsOpen' ), get( 'core/edit-post', 'metaBoxesMainOpenHeight' ), isMetaBoxLocationVisible( 'normal' ) || - isMetaBoxLocationVisible( 'advanced' ), + isMetaBoxLocationVisible( 'advanced' ) || + isMetaBoxLocationVisible( 'side' ), ]; }, [] ); const { set: setPreference } = useDispatch( preferencesStore );