Remove (most) uses of create_function() from core
|Reported by:||sgolemon||Owned by:||rmccue|
There are currently five uses of create_function() in WP core. Four of them may be trivially refactored into simpler, more secure, and (marginally) more performant versions which do not use create_function() while still retaining PHP 5.2.0 compatability.
The fifth use, in wp-includes/pomo/translations.php relies on arbitrary code evaluation and can't be trivially refactored, so it's been left out of this issue.
Change History (24)
- Keywords has-patch added
- Milestone changed from Awaiting Review to 4.6
- Keywords upstream added
- Milestone changed from 4.6 to Future Release
- Version trunk deleted
5 months ago
- Focuses docs added
- Keywords needs-patch added; has-patch upstream removed
- Resolution fixed deleted
- Status changed from closed to reopened