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

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 23 22:20:47 UTC 2011


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

Comment (by masterleep):

 Although not a complete solution, it would be far better to return the
 original unfiltered text from shortcode_unautop if preg_replace errors out
 rather than the empty string.

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


More information about the wp-trac mailing list