[wp-trac] [WordPress Trac] #33381: Strategize the updating of minimum PHP version.

WordPress Trac noreply at wordpress.org
Thu Sep 10 17:50:55 UTC 2015


#33381: Strategize the updating of minimum PHP version.
-------------------------------------------------+-------------------------
 Reporter:  alexander.rohmann                    |       Owner:
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:  maybelater
 Keywords:  needs-codex dev-feedback 2nd-        |     Focuses:
  opinion                                        |
-------------------------------------------------+-------------------------

Comment (by joshuadnelson):

 Perhaps we need a roadmap for this that reflects supported PHP versions
 and correlating WP versions?

 For example, we could say that as of WP 4.6 the minimum PHP is v5.5. We
 add a PHP version check on updates, if your WP version is older than 4.6
 and your on PHP 5.2, it will update to the most stable WP 4.6.X but also
 throw up an admin notice "Please contact your host to update your PHP to
 at least v5.5..."

 From that point forward security updates could be added to WP 4.6.X, but
 anyone trying to update to WP 4.7 or higher on an older version of PHP
 will get that notice and no update will be performed (or they will be
 updated to the most current 4.6.X version with the notice).

 This maintains a pseudo backwards compatibility for older version of PHP
 (4.6.X will continue onward until the numbers are low enough to drop it
 entirely), while allowing newer versions of WP to be used with supported
 PHP versions and all those features. I think, if it's not completely
 unfeasible, this method would also push people to update without breaking
 their sites on an update.

 I can see many reasons why this might not be practical, but thought I
 would throw it out there.

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


More information about the wp-trac mailing list