[wp-trac] [WordPress Trac] #58366: Shortcode Support Regained but Content Filters are messing with Shortcode HTML
WordPress Trac
noreply at wordpress.org
Sat May 20 15:45:26 UTC 2023
#58366: Shortcode Support Regained but Content Filters are messing with Shortcode
HTML
---------------------------+-----------------------------
Reporter: domainsupport | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Shortcodes | Version: trunk
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
I am extremely grateful that the Security Team were able to quickly regain
support for shortcodes in the Block Theme templates. However, whatever
change has been agreed and pushed out means that the filters to
automatically inject `<br>` and `<p>` tags into the content are now
affecting shortcodes and we are seeing text being automatically wrapped in
`<p>` tags and carriage returns replaced with `<br>` tags.
Rather than revert to the insecure v6.2.1 we are going through shortcodes
to remove any carriage returns.
Please advise.
Oliver
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58366>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list