[wp-trac] [WordPress Trac] #14245: Remove create_function from preg_replace_callback to improve memory usage
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 9 01:17:43 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
--------------------------+-------------------------------------------------
On large imports, a create_function() call in wp_kses_split() in
particular causes memory issues pretty quickly.
Let's continue to move away from create_function calls as callbacks. Patch
attached handles most instances.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14245>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list