[wp-trac] [WordPress Trac] #41562: PHP 7.2: create_function deprecation in \Gettext_Translations class

WordPress Trac noreply at wordpress.org
Fri Aug 4 16:09:53 UTC 2017


#41562: PHP 7.2: create_function deprecation in \Gettext_Translations class
----------------------------+-----------------------
 Reporter:  ayeshrajans     |       Owner:  rmccue
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  4.9
Component:  I18N            |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------

Comment (by ayeshrajans):

 Here is Drupal implementation:
 https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Component%21Gettext%21PoHeader.php/class/PoHeader/8.2.x
 Drupal 7 had `eval()`, but replaced in 8.x.

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


More information about the wp-trac mailing list