Opened 16 months ago
Last modified 15 months ago
#58386 new defect (bug)
Shortcode generated by a block element is not executed in templates
Reported by: | rbrunskill | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.2.2 |
Component: | Shortcodes | Keywords: | needs-patch |
Focuses: | Cc: |
Description
Gravity Forms has a block element that inserts the final content by injecting shortcode into the page.
Since 6.2.1 (including 6.2.2) this shortcode does not execute when the Gravity Forms block is added to any sort of template.
Attachments (1)
Change History (5)
#1
@
16 months ago
I am also having this issue on my site (gallery263.org) with a Gravity forms form inside a template part.
#2
follow-up:
↓ 3
@
16 months ago
In the case of Gravity Forms, they released an update yesterday that fixes this in their plugin.
The root issue are "blocks" outputting raw shortcode text, and not calling the do_shortcode()
function on it them selves, this results in plain text being the end result.
#3
in reply to:
↑ 2
@
16 months ago
Replying to Clorith:
In the case of Gravity Forms, they released an update yesterday that fixes this in their plugin.
The root issue are "blocks" outputting raw shortcode text, and not calling the
do_shortcode()
function on it them selves, this results in plain text being the end result.
Just installed that patch and it resolves the issue.
Two uses of the Gravity Forms block in the same page, but one in the content of the page, and the other via the footer template.