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

WordPress Trac noreply at wordpress.org
Mon Jan 30 02:49:47 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 knutsp):

 PHP 7.2 will deprecate `create_function`
 [https://wiki.php.net/rfc/deprecations_php_7_2#create_function]

 So if core is to run on PHP 7.2 without deprecation warnings from PHP I
 guess we need a plan to remove the last one, too. A new ticket only for
 this or collect some more preparations for PHP 7.2?

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


More information about the wp-trac mailing list