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

WordPress Trac noreply at wordpress.org
Thu Mar 28 12:24:55 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 codearachnid):

 Replying to [comment:7 TJNowell]:
 >
 > One could also throw an error in the plugin activation.
 >
 > Both fall apart in the above scenario of switching servers, both fall
 apart if a PHP call is made in the global scope that requires said minimum
 version, and the latter breaks when you update a plugin and the author has
 raised the minimum requirements

 I think server migration definitely needs to considered but not
 necessarily a reason to shelve the idea. I would foresee some sort of
 "disable by notice" of activation until the conditions are met. Although
 as far as true test goes I think it should be more of a tag option verses
 true functionality disabling. I use a similar implementation on my own
 plugins already and don't feel that it would be expensive to run a basic
 type of check for this sort of thing. Ideally it would also help with
 filtering of plugins with the .org repos.

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


More information about the wp-trac mailing list