-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
[Block] ShortcodeAffects the Shortcode BlockAffects the Shortcode Block[Feature] Synced PatternsRelated to synced patterns (formerly reusable blocks)Related to synced patterns (formerly reusable blocks)[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
The Shortcode Block does not parse shortcodes when used in Synched Patterns in Block Editor Page Templates.
Step-by-step reproduction instructions
- Go to a blank page and insert the Shortcode Block into the content. I used this shortcode for testing:
[caption]Caption[/caption] - Duplicate the block and transform it to a Synched Pattern.
- Go to the frontend and observe both blocks working from inside the page content.
- Now cut both blocks to the clipboard and navigate to the page template. Insert the blocks somewhere.
- Go to the frontend and observe only the block working, that it is not a Synched Pattern. The other displays the raw shortcode content without rendering.
Screenshots, screen recording, code snippet
Environment info
I used WordPress Playground with theme Twenty Twenty-Five, WordPress version 6.7.1 and Php 8.0.
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Block] ShortcodeAffects the Shortcode BlockAffects the Shortcode Block[Feature] Synced PatternsRelated to synced patterns (formerly reusable blocks)Related to synced patterns (formerly reusable blocks)[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended