[wp-trac] [WordPress Trac] #24085: wpautop filter and shortcodes

WordPress Trac noreply at wordpress.org
Mon Oct 7 22:54:30 UTC 2013


#24085: wpautop filter and shortcodes
--------------------------+-----------------------------
 Reporter:  Looimaster    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Shortcodes    |     Version:  3.6
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------

Comment (by lkraav):

 Replying to [comment:7 thiagof]:
 > 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 );
 > }}}

 This works. I'm not able to detect any harmful side effects on this
 particular site.

 Is anyone here aware of an article that would explain and demonstrate step
 by step how the content gets processed and why this works?

 I was looking at the resulting commit from discussion of #6444. That
 commit by @markjaquith is 5+ years old. Is the strategy still valid?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24085#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list