[wp-trac] [WordPress Trac] #15600: shortcode_unautop returns emtpy string

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 12 23:27:46 UTC 2011


#15600: shortcode_unautop returns emtpy string
-------------------------------------------------+-------------------------
 Reporter:  mdbitz                               |       Owner:  westi
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  high                                 |   Milestone:  3.3
Component:  Formatting                           |     Version:  3.0.1
 Severity:  major                                |  Resolution:
 Keywords:  needs-testing has-patch needs-unit-  |
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by mdawaffe):

 OK - I lied :)  There were a few issues on WP.com with back compat.  Also,
 a bunch of the plugins in http://pastie.org/pastes/2522893/text (thanks,
 duck_) use the matching groups in ways I didn't expect.

 So here's a new patch.

 It's the same as [attachment:15600.3.diff] with the following differences:
 * All matching groups are the same as in the current code.
 * The regex no longer requires {{{/x}}} to compile.

 I believe the patch is now 100% backward compatible.

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


More information about the wp-trac mailing list