[wp-trac] [WordPress Trac] #58366: Shortcode Support Regained but Content Filters are messing with Shortcode HTML
WordPress Trac
noreply at wordpress.org
Sun May 21 21:18:35 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: 6.2.2
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by kubiq):
Here you can see all possible usecases and current problems:
[https://demo.kubiq.sk/sample-page/]
This demo uses `[xxx]` shortcode that should render `A B C`
{{{#!php
<?php
add_shortcode( 'xxx', function(){
return "A\nB\nC";
});
}}}
1. Shortcode block in Template and Template part is doing redundant autop
2. Shortcodes are not working when they are in reusable block in Template
and Template part (group, row, whatever)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58366#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list