[wp-trac] [WordPress Trac] #34985: Remove PHP4 constructors in wp-includes/pomo/streams.php?

WordPress Trac noreply at wordpress.org
Fri Dec 11 08:24:12 UTC 2015


#34985: Remove PHP4 constructors in wp-includes/pomo/streams.php?
--------------------------+------------------------------
 Reporter:  andg          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------
Changes (by swissspidy):

 * keywords:   => needs-patch


Comment:

 It's an external library, see https://github.com/LeoColomb/pomo.

 Though in the past lots of changes have been made to it, some have been
 merged upstream.

 In the current version, the library uses namespaces and PHP5-style
 constructors only.

 I think it's safe to remove the old constructors in this case, as it
 doesn't make maintenance any harder.

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


More information about the wp-trac mailing list