[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
Fri Jun 26 09:05:50 GMT 2009


#8553: preg_replace_callback in do_shortcode returns empty for large posts
---------------------------+------------------------------------------------
 Reporter:  AaronCampbell  |        Type:  defect (bug)
   Status:  new            |    Priority:  high        
Milestone:  2.9            |   Component:  Shortcodes  
  Version:                 |    Severity:  normal      
 Keywords:  needs-patch    |  
---------------------------+------------------------------------------------

Comment(by hakre):

 The test-data should be extended to reflect multi-line shortcodes as well.
 according to some reports, there are issues as well and AFAIK regexes are
 aware of line endings (when commanded). Therefore looks reasonable to test
 that as well.

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


More information about the wp-trac mailing list