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

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 18 02:39:47 UTC 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:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Changes (by usermrpapa):

 * cc: usermrpapa (added)


Comment:

 We too have several users who have encountered this bug using shortcodes
 on posts/pages with a lot of content (or images)...  increasing the
 backtrack limit does mitigate the problem (at least for now), but it would
 be great if this could be optimized to not require the increased limit...

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


More information about the wp-trac mailing list