[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
Wed Dec 10 03:14:40 GMT 2008


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

 > Setting the pcre.backtrack_limit to 1,000,000 worked
 (ini_set('pcre.backtrack_limit', 1000000);)

 (Just for anyone else who comes accross this ticket, That requires PHP
 5.2+)

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


More information about the wp-trac mailing list