[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 Jan 22 18:19:04 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.1    
Component:  General                  |      Version:           
 Severity:  normal                   |   Resolution:           
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Comment (by mrmist):

 Replying to [comment:12 Denis-de-Bernardy]:
 > With a higher pcre backtrace limit. Further investigation reveals the
 issue with your test text comes from wpautop.

 OK.  Keep in mind though that if I increase the limit then my sample text
 goes through fine, without any patch.  It's the default limit that poses a
 problem.

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


More information about the wp-trac mailing list