Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #29204, comment 30


Ignore:
Timestamp:
04/18/2018 05:45:58 PM (6 years ago)
Author:
mopsyd
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29204, comment 30

    v2 v3  
    99Feel free to use it as is, drop it on an existing class, or convert it to a non-object-oriented function. It solves pretty much all static call bugs like this one, and doesn't collide with anything. If anyone doing core development is reading this, feel free to knock out this as well as a large swath of related bugs with this if you like.
    1010
    11 This will work on all versions of PHP from 5.4+.
     11This will work on all versions of PHP from 5.4+, and it's MIT licensed, so it should not collide with the WordPress GPLv2 license, as per the GPL licensing compatibility spec.