[wp-trac] [WordPress Trac] #24085: wpautop filter and shortcodes
WordPress Trac
noreply at wordpress.org
Thu Jun 20 18:29:46 UTC 2013
#24085: wpautop filter and shortcodes
--------------------------+------------------------------
Reporter: Looimaster | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Shortcodes | Version: trunk
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by thiagof):
Yes, the bug naturally persist.
Apparently there is a try to solve it in the
[http://core.trac.wordpress.org/browser/tags/3.5.1/wp-
includes/formatting.php#L237 wpautop] and
[http://core.trac.wordpress.org/browser/tags/3.5.1/wp-
includes/formatting.php#L282 shortcode_unautop] (plus others) but it is
clearly not fully working.
Yep, RegExp really rocks.. but seems like it need attention - so many
function around the issue and yet no result.
For now, people still need to use the hack of removing wpautop!!
{{{
remove_filter( 'the_content', 'wpautop' );
add_filter( 'the_content', 'wpautop', 12 );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24085#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list