[wp-trac] [WordPress Trac] #23880: Minimum PHP version in Plugins

WordPress Trac noreply at wordpress.org
Thu Mar 28 12:55:29 UTC 2013


#23880: Minimum PHP version in Plugins
-----------------------------+------------------------------
 Reporter:  TJNowell         |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Plugins          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by TJNowell):

 Replying to [comment:12 markoheijnen]:
 > Replying to [comment:11 TJNowell]:
 >
 > Namespacing isn't something a plugin needs. It's helps you out to
 structure code. So it's not naive thinking when you can make the plugin
 working on 5.2 by not using namespacing. It wouldn't work less.

 If your plugins share common code, namespacing is a massive help to
 prevent conflicts and clashes between differing versions. Sure on a
 clients machine you can separate them out into some kind of library plugin
 but on org that isn't as feasible

 > Libraries is indeed an issue and I also sometimes use them. However I
 would never release the plugin on .org.

 I'd be apprehensive about this too, but if your plugin is already on org
 when the library makes a shift to 5.3 while making the 5.2 version
 unusable? E.g. a social network API

 But if I had a perfectly working plugin working under 5.3, I'd like the
 option to put it up responsibly, warning 5.2 users, rather than
 backporting to 5.2 which could be a lot of work, then undoing all the work
 when WordPress shifts to 5.3.

 Other examples might be an example plugin demonstrating clojures and other
 5.3/4 features for tutorial purposes

 For reference here are the 5.4 and 5.3 new features:

 http://www.php.net/manual/en/migration53.new-features.php
 http://www.php.net/manual/en/migration54.new-features.php

 There are other changes such as compatability breaking changes,
 deprecations, and bugfixes, not to mention significant performance boosts

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23880#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list