[wp-trac] [WordPress Trac] #43992: Prevent activation of a plugin if its required PHP version is too high

WordPress Trac noreply at wordpress.org
Wed Mar 20 18:09:49 UTC 2019


#43992: Prevent activation of a plugin if its required PHP version is too high
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:  desrosj
     Type:  task (blessed)                       |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.2
Component:  Plugins                              |     Version:
 Severity:  major                                |  Resolution:
 Keywords:  needs-unit-tests servehappy dev-     |     Focuses:
  feedback has-patch needs-testing 2nd-opinion   |
  needs-refresh                                  |
-------------------------------------------------+-------------------------
Changes (by desrosj):

 * keywords:
     needs-unit-tests servehappy dev-feedback has-patch needs-testing 2nd-
     opinion
     =>
     needs-unit-tests servehappy dev-feedback has-patch needs-testing 2nd-
     opinion needs-refresh


Comment:

 I think more granular error messaging in 5.2.1/5.3 can work.

 For the functions, let's use `wp_is_wp_compatible()` and
 `wp_is_php_compatible()`.

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


More information about the wp-trac mailing list