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

WordPress Trac noreply at wordpress.org
Mon Jul 9 03:33:44 UTC 2018


#43986: Disable "Install Plugin" button for PHP required version mismatch
-------------------------------------------------+-------------------------
 Reporter:  schlessera                           |       Owner:  afragen
     Type:  task (blessed)                       |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.0
Component:  Plugins                              |     Version:
 Severity:  major                                |  Resolution:
 Keywords:  needs-unit-tests servehappy has-     |     Focuses:
  patch ux-feedback                              |
-------------------------------------------------+-------------------------

Comment (by joyously):

 Replying to [comment:85 SergeyBiryukov]:
 >
 > It looks like your point is about finding a replacement for plugins that
 may not be compatible with a newer PHP version.

 Thanks for trying to understand, but no, that's not quite it. My point
 ''is'' about finding replacement plugins, but it is the messaging and the
 timing that keeps getting lost. The current patch will show the PHP 5.3
 user the plugins for PHP 7 as disabled, and he will have to write them
 down or something to find them again after his PHP upgrade. Before his
 upgrade, he will have to deactivate the ones that aren't compatible. Then
 after his upgrade, he will have to search again for those names he wrote
 down, and most plugins, even the ones he just deactivated, will not have
 any indication that there is a compatibility problem. Therefore, the
 disabling of the button will only make it more difficult for the user. It
 doesn't help at all.

 > This ticket is focused on another use case instead: searching for
 plugins compatible with the current PHP version, while giving an incentive
 to eventually update PHP.

 The way it is now is a ''dis''incentive to update PHP. Since we only have
 the PHP minimum, we can only benefit the user on the lower version. That
 is precisely the one that needs to install plugins that need a higher
 version so that the upgrade goes smoothly.

 > As for older plugins that may not be compatible with a newer PHP
 version, the "safe mode" approach suggested in #44458 should help with
 identifying them and finding a replacement.

 I am still hoping that Tide can help by providing a range of versions.

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


More information about the wp-trac mailing list