[wp-trac] [WordPress Trac] #37082: Remove (most) uses of create_function() from core

WordPress Trac noreply at wordpress.org
Wed Feb 1 01:23:02 UTC 2017


#37082: Remove (most) uses of create_function() from core
-------------------------+-----------------------
 Reporter:  sgolemon     |       Owner:  rmccue
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  4.8
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  docs
-------------------------+-----------------------

Comment (by sgolemon):

 7.2 is keeping eval, so that last usage of create_function() could be
 migrated to be 7.2 safe easily enough.  It'd also be a much more honest
 admission of what that function does (which is terrible).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37082#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list