[wp-trac] [WordPress Trac] #43986: Disable "Install Plugin" button for PHP required version mismatch
WordPress Trac
noreply at wordpress.org
Tue Jun 5 05:33:35 UTC 2018
#43986: Disable "Install Plugin" button for PHP required version mismatch
-------------------------------------------------+-------------------------
Reporter: schlessera | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.0
Component: Plugins | Version:
Severity: major | Resolution:
Keywords: needs-unit-tests servehappy dev- | Focuses:
feedback has-patch |
-------------------------------------------------+-------------------------
Comment (by joyously):
I think you missed my point.
In order to keep a site working through an upgrade, the user will need to
identify plugins to use with the new PHP version, and install them ahead
of the upgrade so that they can be activated quickly after the upgrade.
The goal would be to minimize the down time and effort involved in finding
replacements. If the user has to wait until after the upgrade to install
the replacements, there is potentially much more time that the site is not
working.
Additionally, there is a subtle problem with showing a warning for
Required PHP version because it is a minimum version. The user will only
see the warnings when his PHP version is low. So if he does the upgrade
first, and then searches for plugin replacements, there will be no
warnings on plugins that are written for a lower PHP version and could
cause errors on the upgraded version, such as the ones needing
replacement. Having the warning work in only one direction dictates that
it is better to install the replacements before the upgrade, but this
ticket is about making that impossible. And after the upgrade, any
attempts to find plugins would always have some element of doubt about
whether there is a PHP conflict (since it won't be flagged).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43986#comment:61>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list