[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
Mon Jan 19 13:42:08 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  |  
-------------------------------------+--------------------------------------
Changes (by Denis-de-Bernardy):

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

Comment:

 Please try the attached fix. It splits shortcode workflow in two steps --
 first fetch shortcodes, then match parameters.

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


More information about the wp-trac mailing list