-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsyncedA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] RegressionRelated to a regression in the latest releaseRelated to a regression in the latest release
Description
Description
Adding a new post does not open the starter pattern modal even though a theme has core/post-content patterns with post set in Post Types
Step-by-step reproduction instructions
- Clean install of 6.8.RC1
- Using twentytwentyfive theme from 6.8RC1
- No plugins
- Edited a couple core/post-content from the twentytwentyfive theme to add post to the patterns' Post types meta data.
- Click Add new page -- the start patterns modal opens
- Click Add new post -- the modal does not open
- Replace 6.8RC1 with 6.7.2, and adding a new post, the modal does open.
This is because of this line in trunk:
https://github.com/WordPress/gutenberg/blob/trunk/packages/editor/src/components/start-page-options/index.js#L155 --
enabled: choosePatternModalEnabled && 'page' === getCurrentPostType()
I know there was a lot of discussion around the starter pattern modal and it seems the decision was ultimately to revert those UX/code changes for now. But it seems you can only use the starter pattern modal for pages as of 6.8 RC1
Screenshots, screen recording, code snippet
No response
Environment info
WP 6.8RC1 with twentytwentyfive theme
Chrome Version 134.0.6998.166 (Official Build) (arm64)
Macbook OS 14.7.4
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
himanshupathak95
Metadata
Metadata
Assignees
Labels
[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsyncedA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] RegressionRelated to a regression in the latest releaseRelated to a regression in the latest release
Type
Projects
Status
✅ Done