Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortcodes are not working in page templates in the new "Beta" editor #37890

Closed
audrasjb opened this issue Jan 11, 2022 · 1 comment
Closed
Labels
[Feature] Shortcodes Related to shortcode functionality [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Bug An existing feature does not function as intended

Comments

@audrasjb
Copy link
Contributor

Description

Note: this is a copy-paste of a ticket opened on Trac.

The shortcode block does not transform the shortcodes in the page template of the new "beta" editor (located at Appearance > Editor (beta)) of the full site editing when the shortcode is added to the "content" area, not into the "Header" or "Footer". (It works fine from these two.)

See the related Trac ticket for further details: https://core.trac.wordpress.org/ticket/54759

Step-by-step reproduction instructions

See the related Trac ticket: https://core.trac.wordpress.org/ticket/54759

Screenshots, screen recording, code snippet

No response

Environment info

No response

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

@annezazu annezazu added [Feature] Shortcodes Related to shortcode functionality [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Bug An existing feature does not function as intended labels Jan 11, 2022
@Mamaduka
Copy link
Member

This was fixed in #37545.

We also found that running wptexturize (and maybe do_shortcodes) after the do_blocks might have some unexpected results - #37754 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Shortcodes Related to shortcode functionality [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

4 participants