[wp-trac] [WordPress Trac] #43986: Disable "Install Plugin" button for PHP required version mismatch

WordPress Trac noreply at wordpress.org
Tue Jun 5 15:43:14 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 flixos90):

 @joyously
 > The "disabling" should be the activation, not the installation or the
 plugin update. Given one choke point, it's easier to implement and more
 useful to the user, especially since the WP admin is not the only way to
 get a plugin installed.

 I agree that activation is actually the critical part with this. However,
 there is hardly a benefit of allowing the user to install an incompatible
 plugin, only to see one step later that it does not work. The current
 approach aims at highlighting that immediately, so that the user isn't
 required to perform unnecessary steps before getting to that conclusion.

 Preventing installation is also in line with preventing upgrades, which we
 will implement as well. When a plugin has an update which has changed its
 requirements, causing the plugin to no longer be compatible, we will
 prevent the update. The plugin may already be active, so our logic
 wouldn't fire if it was only on activation, and it wouldn't be helpful to
 update to that version either.

 We will also implement what you are getting at, preventing activation of
 an incompatible plugin that has been installed in another way. This ticket
 here was simply taken at first, the rest will be iterations on the higher
 goal.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43986#comment:64>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list