WordPress / plugin-check

A repository for the new Plugin Check plugin from the WordPress Performance and Plugins Team.
https://wordpress.org/plugins/plugin-check/
GNU General Public License v2.0
268 stars 53 forks source link

Make error code `plugin_header_invalid_requires_plugins` an ERROR with severity 7 #806

Open ernilambar opened 4 days ago

ernilambar commented 4 days ago

In the directory when Requires Plugins value is invalid, even new release of plugin is blocked. Its value should be comma separated plugin slug and those plugins should exist in the directory.

May be it is not feasible to check existence of the plugin in the PCP, we could at least raise an ERROR if the value is not proper comma separated slugs.

Error:

Requires Plugins: WooCommerce

Expected:

Requires Plugins: woocommerce
davidperezgar commented 4 days ago

Ok. I see then.