[wp-trac] [WordPress Trac] #43992: Prevent activation of a plugin if its required PHP version is too high
WordPress Trac
noreply at wordpress.org
Mon Mar 18 03:13:39 UTC 2019
#43992: Prevent activation of a plugin if its required PHP version is too high
-------------------------------------------------+-------------------------
Reporter: flixos90 | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.2
Component: Plugins | Version:
Severity: major | Resolution:
Keywords: needs-unit-tests servehappy dev- | Focuses:
feedback has-patch needs-testing |
-------------------------------------------------+-------------------------
Comment (by TimothyBlynJacobs):
Updated patch looks good to me.
I'm not sure what the right solution is for the
`validate_plugin_requirements` function. It seems like it'd be helpful for
that to return which requirement failed. I agree `WP_Error` doesn't
semantically make sense.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43992#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list