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

WordPress Trac noreply at wordpress.org
Thu Mar 28 17:44:30 UTC 2019


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

Comment (by apedog):

 A small "install anyway (I understand the risks/discouraged)" link under
 the disabled button could address @joyously's point of not narrowing the
 scope of users' actions.
 A user might want to download the plugin, knowing full well that
 activation will be postponed until after PHP/WP upgrade. This seems like
 the perfect solution that is compatible with both philosophies - 1. The
 issue is with activation, not with downloading 2. Discourage installation
 as early as possible - don't kick the can to the activation phase.

 This would mean changing the "Cannot Install" text (as obviously you CAN
 install, you just can't activate). And perhaps the link would be a button
 - but styled as a link (I'm not that well-versed in a11y
 requirements/practices). It should be minor/discouraged anyway.

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


More information about the wp-trac mailing list