[wp-trac] [WordPress Trac] #50593: Check requirements when uploading a plugin/theme by ZIP
WordPress Trac
noreply at wordpress.org
Tue Jul 7 14:59:50 UTC 2020
#50593: Check requirements when uploading a plugin/theme by ZIP
-----------------------------+-------------------------------------------
Reporter: mariovalney | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: 5.4.2
Severity: normal | Keywords: needs-patch needs-screenshots
Focuses: |
-----------------------------+-------------------------------------------
From [https://core.trac.wordpress.org/ticket/9757#comment:153 9757] we
agree uploading a plugin should check PHP required version.
We already check the package is a valid plugin and I think we can add both
verifications: ''Requires PHP'' and ''Requires at least''. And extend it
to themes.
* Is there any other verifications that plugins from repository are
submitted?
* Maybe we can use
[https://developer.wordpress.org/reference/functions/validate_plugin_requirements/
validate_plugin_requirements] function.
* (@desrosj [https://core.trac.wordpress.org/ticket/9757#comment:159
suggests]) When the PHP or WordPress requirements are not met, can we link
to the HelpHub so that the user has some direction: Maybe this page:
[https://wordpress.org/support/update-php/]?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50593>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list