Optimization for kses
|Reported by:||azaozz||Owned by:||anonymous|
Each time create_function() is called, it makes new global function taking up a bit of memory. It shouldn't be used where it may be called many times, like in loops or in functions that may be run many times.
It doesn't seem to be needed in preg_replace_callback() when there's already a callback function defined for it.
Change History (8)
- Resolution fixed deleted
- Status changed from closed to reopened