[wp-trac] [WordPress Trac] #14245: Remove create_function from preg_replace_callback to improve memory usage

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 23 13:08:01 UTC 2010


#14245: Remove create_function from preg_replace_callback to improve memory usage
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Performance   |     Version:                 
 Severity:  normal        |    Keywords:  has-patch      
--------------------------+-------------------------------------------------

Comment(by hakre):

 Just added a patch that solves the reported memory issue. Compared to
 Nacins suggestion it does not re-introduced an already deprecated function
 (!) nor does it change the existing function header of
 {{{wp_kses_split2()}}}.

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


More information about the wp-trac mailing list