[wp-trac] [WordPress Trac] #24085: wpautop filter and shortcodes
WordPress Trac
noreply at wordpress.org
Sat Jul 27 15:41:42 UTC 2013
#24085: wpautop filter and shortcodes
--------------------------+-----------------------------
Reporter: Looimaster | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Shortcodes | Version: trunk
Severity: normal | Resolution:
Keywords: |
--------------------------+-----------------------------
Comment (by Looimaster):
More examples. I'm using Symple Shortcodes plugin -
http://www.wpexplorer.com/symple-shortcodes/
This will not produce a paragraph inside the column:
{{{
[symple_column size="one-third" position="first"]Sample
Content[/symple_column]
}}}
This will not produce a paragraph inside the column (but will produce
additional `<br>` at the end):
{{{
[symple_column size="one-third" position="first"]
Sample Content
[/symple_column]
}}}
This will produce a paragraph inside the column (but will not work for
those without `unfiltered_capability` if I'm not mistaken):
{{{
<div class="column_1">Sample Content</div>
}}}
The plugin does `do_shortcode($content)` instead of
`apply_filters('the_content', $content);` so this may have impact on that
but nonetheless I think that it's worth considering this example as well
while resolving this ticket.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24085#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list