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

WordPress Trac noreply at wordpress.org
Mon May 7 15:32:13 UTC 2018


#43992: Prevent activation of a plugin if its required PHP version is too high
-------------------------+-------------------------------------------------
 Reporter:  flixos90     |      Owner:  (none)
     Type:  task         |     Status:  new
  (blessed)              |
 Priority:  normal       |  Milestone:  5.0
Component:  Plugins      |    Version:
 Severity:  normal       |   Keywords:  needs-patch needs-unit-tests
  Focuses:               |  servehappy
-------------------------+-------------------------------------------------
 **Note: This ticket is a subtask for the overarching #40934 ticket.**

 While the plans from #43986 and #43987 will ensure nobody can install or
 update plugins that require a PHP version higher than the version used, a
 third step should be to prevent plugin activations of said plugins. It is
 still possible to just upload plugin directories and then activate them
 from there. While the above tickets will cover the majority of cases, we
 should also account for the latter.

 A difference between other work and this one would be that here, we need
 to read the required PHP version from the plugin readme file directly
 instead from the w.org plugins API.

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


More information about the wp-trac mailing list