[wp-trac] [WordPress Trac] #40934: Allow PHP version requirements for plugins & themes

WordPress Trac noreply at wordpress.org
Tue Jun 6 22:17:58 UTC 2017


#40934: Allow PHP version requirements for plugins & themes
----------------------------+------------------
 Reporter:  joostdevalk     |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  4.9
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  dev-feedback    |     Focuses:
----------------------------+------------------

Comment (by pbiron):

 Replying to [comment:4 johnbillion]:
 > If the WordPress project is to allow plugins or themes to specify a
 minimum PHP version, and indeed if core itself is to consider increasing
 its own minimum PHP version, the only way this will happen is if
 supporting documentation comes first. Everything else comes down to
 relatively trivial technical implementation.

 I'm agnostic as to whether the documentation must come first.

 But part of that documentation should be directed at plugin/theme authors
 in an attempt to educate them how to determine what the "minimum PHP
 version" for their plugin/theme is.

 I say this because I honestly couldn't tell you what the "minimum PHP
 version" are for //any// of the plugins/themes I've written.  All **I**
 know is that I've tested them with a particular version of PHP.

 This should include pointers to the various "Migrating from PHP X to PHP
 Y" appendices in the PHP Manual (e.g.,
 [[http://us1.php.net/manual/en/migration55.php|Migrating from PHP 5.4.x to
 5.5.x]]).  In fact, I didn't even realize those appendices existed until I
 saw this ticket and asked myself how I would I know what the "minimum PHP
 version" for plugin X is.

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


More information about the wp-trac mailing list