[wp-trac] [WordPress Trac] #40934: Allow PHP version requirements for plugins & themes
WordPress Trac
noreply at wordpress.org
Mon Jul 24 19:11:46 UTC 2017
#40934: Allow PHP version requirements for plugins & themes
----------------------------+---------------------------------
Reporter: joostdevalk | Owner: joostdevalk
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 4.9
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses: ui, administration
----------------------------+---------------------------------
Comment (by flixos90):
In addition of supporting a minimum version, the following should be
considered as well:
* It should also be possible to specify a maximum supported version. Most
plugins won't specify this, but in case we have a responsible plugin
developer who just has not found the time to migrate their plugin to PHP
7, this would still help the user decide to which version to bump.
* When you wanna install a plugin that is not supported, it should show a
link like "Why can't I install this plugin?" That link could then lead to
a wordpress.org page with some reasons on why to upgrade and general
instructions on how to ask their host.
* When you wanna update a plugin that is not supported anymore, it should
show a link like "Why can't I update this?" which leads to the same page
as above.
* After all, there could also be some kind of compatibility check page in
the WP admin to show at one glance the state of all installed plugins
whether they will work with PHP x.x (that is either 5.6, 7.0 or 7.1). If a
plugin has that information not defined, it will be ignored. This screen
would be helpful when saying users they need to upgrade: If one of a
user's plugins does explicitly not work with e.g. PHP 7, this could be
highlighted so that the user at least upgrades to PHP 5.6 and is on a
supported version without a broken site that could have been prevented.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40934#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list