[wp-trac] [WordPress Trac] #12061: Treatment of shortcodes by wpautop is incomplete

WordPress Trac noreply at wordpress.org
Wed Oct 29 22:25:24 UTC 2014


#12061: Treatment of shortcodes by wpautop is incomplete
-----------------------------------+-----------------------------
 Reporter:  gcorne                 |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Future Release
Component:  Shortcodes             |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  wpautop needs-testing  |     Focuses:
-----------------------------------+-----------------------------

Comment (by mdawaffe):

 The only thing about my original `no_unautop_shortcodes` is that if you
 have a shortcode you want to change both the default autop and texturize
 behaviors of, you can do it by hooking the same function to
 `no_texturize_shortcodes` and `no_unautop_shortcodes`.

 With `unautop_shortcodes`, you have to have two separate functions: one
 that adds to `no_texturize_shortcodes`, and one that removes from
 `unautop_shortcodes`.  I'm fine with that situation and still like
 @DrewAPicture's naming. I just wanted to point it out.

 (Sorry I forgot to mention that when we chatted, @aaroncampbell.)

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


More information about the wp-trac mailing list