[wp-trac] [WordPress Trac] #43986: Disable "Install Plugin" button for PHP required version mismatch
WordPress Trac
noreply at wordpress.org
Mon Jun 4 19:04:30 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 afragen):
Based upon today's #core-php meeting I have updated the patch
[attachment:43986v4.4.diff].
The plugin card displays as follows. I set `$wp_version = '3.7';` so that
the message for an incompatible version of WordPress would display. There
is not untested message in the plugin card. There is still the untested
notice in the More Details window.
[[Image(screenshot_01.5.png)]]
This is the More Detail window using the constraints as above.
[[Image(screenshot_02.5.png)]]
This how the plugin card looks when running trunk.
[[Image(screenshot_03.3.png)]]
This is the start of discussion that this patch was based upon,
https://wordpress.slack.com/archives/C60K3MP2Q/p1528124435000346
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43986#comment:57>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list