[wp-trac] [WordPress Trac] #58333: WordPress 6.2.1 Shortcodes some shortcode no longer works!
WordPress Trac
noreply at wordpress.org
Wed May 17 20:24:34 UTC 2023
#58333: WordPress 6.2.1 Shortcodes some shortcode no longer works!
--------------------------+-----------------------
Reporter: jorcus | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.2.2
Component: Shortcodes | Version: 6.2.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+-----------------------
Comment (by pbiron):
Replying to [comment:7 andergmartins]:
> For those who want to stay on 6.2.1 and need to restore the support for
shortcodes on templates, you can try this workaround.
Since shortcode blocks still work in `template parts`, an easier work
around is to:
1. create a template part
2. move the shortcode block that was in the template to the new template
part
3. change the template and add the template part in place of the shortcode
block
I've verified that this works.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58333#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list