Open
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
Activity