[wp-trac] [WordPress Trac] #65038: Shortcode block adds empty <p> tags around block output in widget/footer areas
WordPress Trac
noreply at wordpress.org
Thu Apr 9 08:23:33 UTC 2026
#65038: Shortcode block adds empty <p> tags around block output in widget/footer
areas
-----------------------------+------------------------------
Reporter: frauinga | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.9.4
Severity: normal | Resolution:
Keywords: has-screenshots | Focuses:
-----------------------------+------------------------------
Comment (by wildworks):
Thanks for the report. I think the fundamental issue is that the HTML
output by shortcodes is always wrapped in a `P` element, which I believe
is the same problem reported in #62694.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65038#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list