Skip to content

Commit

Permalink
Fix: Show Meta Boxes at the bottom of the screen regardless of the cu…
Browse files Browse the repository at this point in the history
…rrent rendering mode (WordPress#66508)

Co-authored-by: fabiankaegy <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: stokesman <[email protected]>
  • Loading branch information
5 people authored and karthick-murugan committed Nov 13, 2024
1 parent 277afe0 commit f5a7be1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/edit-post/src/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,7 @@ function Layout( {
!! select( blockEditorStore ).getBlockSelectionStart(),
showIconLabels: get( 'core', 'showIconLabels' ),
isDistractionFree: get( 'core', 'distractionFree' ),
showMetaBoxes:
! DESIGN_POST_TYPES.includes( currentPostType ) &&
isRenderingPostOnly,
showMetaBoxes: ! DESIGN_POST_TYPES.includes( currentPostType ),
isWelcomeGuideVisible: isFeatureActive( 'welcomeGuide' ),
templateId:
supportsTemplateMode &&
Expand Down

0 comments on commit f5a7be1

Please sign in to comment.