[wp-trac] [WordPress Trac] #43987: Block plugin updates if required PHP version is not supported - Plugins screen
WordPress Trac
noreply at wordpress.org
Wed Mar 20 01:43:12 UTC 2019
#43987: Block plugin updates if required PHP version is not supported - Plugins
screen
-------------------------------------------------+-------------------------
Reporter: schlessera | Owner: afragen
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 5.2
Component: Plugins | Version: 5.1
Severity: normal | Resolution: fixed
Keywords: needs-unit-tests servehappy has- | Focuses:
patch dev-feedback commit |
-------------------------------------------------+-------------------------
Changes (by desrosj):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"44937" 44937]:
{{{
#!CommitTicketReference repository="" revision="44937"
Plugins: Block plugin updates if required PHP version is not supported.
When a plugin states it requires a specific minimum PHP version (as
defined in the `requires_php` field included in the plugin update API
response), a user should not be allowed to update that plugin when the
server does not satisfy the minimum PHP version.
When this scenario is encountered, the update buttons and links are
disabled and links to educational resources about PHP are displayed to the
user with a notice.
Props afragen, schlessera, desrosj.
Fixes #43987.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43987#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list