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

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 11 18:32:36 UTC 2011


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

Comment (by masterleep):

 If it's too late for the more complete solution, could you take the patch
 in comment 16 for 3.2?  It is low risk.  Essentially it just checks for a
 NULL return result and returns the original post content rather than
 erasing it.

 This problem requires me to hand patch Wordpress to keep my posts from
 being randomly replaced with empty content, so it's really a nuisance.

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


More information about the wp-trac mailing list