[wp-trac] [WordPress Trac] #43986: Disable "Install Plugin" button for PHP required version mismatch
WordPress Trac
noreply at wordpress.org
Sat May 26 00:07:26 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):
@schlessera
[[Image(screenshot_03.png)]]
Now has aria-labels over the requirements text and other option is simply
{{{WordPress untested}}}, also with aria-label.
[[Image(screenshot_02.3.png)]]
Also has aria-labels.
I added a test for {{{isset( $plugin['requires_php'])}}} in the relevant
functions for completeness.
I also added an additional filter hook to be able to replace the 'More
Details' button.
As @SergeyBiryukov and I are going at this from 2 slightly different
methods, perhaps we can discuss it more at the #core-php meeting?
The minimalist plugin card is growing on me. Especially since more
verbiage is present in the More Details iframe.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43986#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list