[wp-trac] [WordPress Trac] #43987: Block plugins from updating if required PHP version is not supported

WordPress Trac noreply at wordpress.org
Mon May 7 14:15:40 UTC 2018


#43987: Block plugins from updating if required PHP version is not supported
----------------------------+-----------------------------
 Reporter:  schlessera      |      Owner:  (none)
     Type:  task (blessed)  |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Plugins         |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 **Note: This ticket is a subtask for the overarching #40934 ticket.**

 When a plugin states it requires a specific minimum PHP version through
 its "Requires PHP" header information and the server does not support this
 PHP version, WordPress should block any possibility to update the plugin.
 This way, plugins will stay at the latest release that still supports the
 server's PHP version.

 Some initial observations:

 - The plugin infrastructure might need to be changed to allow querying for
 "the latest release that still supports a given PHP version".
 - Plugin authors should have a way to push security updates for older
 releases prior to a PHP version bump, to not leave sites behind on
 vulnerable plugin versions.

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


More information about the wp-trac mailing list