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

WordPress Trac noreply at wordpress.org
Fri May 25 07:36:12 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 SergeyBiryukov):

 [attachment:43986.2.diff] is my take on the patch, mostly following
 @hedgefield's mockups.

 Screenshots: [attachment:43986.2.plugin-list.PNG], [attachment:43986.2
 .more-details.PNG].

 I don't think we should change the UI too much. "Incompatible with your
 version of PHP. [https://wordpress.org/support/upgrade-php/ Learn more]"
 seems enough for our purposes, and we can explain the details in "More
 Details" modal.

 I didn't implement red buttons (went with regular disabled buttons
 instead), as we don't have them anywhere else in core, and I'd like to
 avoid introducing new design conventions here. Maybe even the pink
 background on plugin cards is too much? I'm open to suggestions though if
 someone has strong feelings either way :)

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


More information about the wp-trac mailing list