[wp-trac] [WordPress Trac] #6984: wpautop() formats the the contents of shortcodes

WordPress Trac noreply at wordpress.org
Wed May 7 04:05:12 UTC 2014


#6984: wpautop() formats the the contents of shortcodes
---------------------------------+-----------------------------
 Reporter:  Viper007Bond         |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  low                  |   Milestone:  Future Release
Component:  Formatting           |     Version:  2.6
 Severity:  normal               |  Resolution:
 Keywords:  needs-patch wpautop  |     Focuses:
---------------------------------+-----------------------------

Comment (by collinsinternet):

 What are your thoughts about changing the priority of when the
 do_shortcode filter is run from 11 to 9?

 Line 407 of wp-includes/shortcodes.php:


 {{{
 add_filter('the_content', 'do_shortcode', 9); // BEFORE wpautop()
 }}}

 The other alternative would be to setup new filters for special
 shortcodes, but this could be a major pain.

 The other alternative would be to create a

--
Ticket URL: <https://core.trac.wordpress.org/ticket/6984#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list