[wp-trac] Re: [WordPress Trac] #8553: preg_replace_callback in do_shortcode returns empty for large posts

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 23 12:31:42 GMT 2009


#8553: preg_replace_callback in do_shortcode returns empty for large posts
---------------------------+------------------------------------------------
 Reporter:  AaronCampbell  |       Owner:  anonymous  
     Type:  defect (bug)   |      Status:  new        
 Priority:  normal         |   Milestone:  2.7.2      
Component:  General        |     Version:             
 Severity:  normal         |    Keywords:  needs-patch
---------------------------+------------------------------------------------
Changes (by xibe):

  * keywords:  has-patch needs-testing => needs-patch


Comment:

 I tested the patch on my trunk install, using the
 [http://xavier.borderie.net/blog/2009/03/23/la-courbe-de-pj-harvey/
 aforementioned long post] of mine: [http://xavier.borderie.net/wp-
 trunk/?p=29 it's not working].

 One thing I don't remember noticing before, is that the post gets blank if
 saved in Visual mode - saving in HTML mode still leaves the post intact,
 it's just that online version that's blank.

 ---

 Testing with a huge, generated [http://www.lipsum.com/ Lorem Ispum], the
 post does get properly published (2.8-bleeding w/ patch AND 2.7.2). But if
 fails if you add just one [caption]-ed image...

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


More information about the wp-trac mailing list