plugin-check icon indicating copy to clipboard operation
plugin-check copied to clipboard

Requires related plugin header check in readme

Open ernilambar opened this issue 6 months ago • 3 comments

Related: https://github.com/WordPress/plugin-check/issues/198

For following two headers, we accept fields either in readme file or main plugin file.

  • Requires at least
  • Requires PHP

We could raise ERROR or WARNING if those fields are missing from both files.

It seems preference is given to plugin file header. May be we could create separate Check instead of keeping inside plugin_readme check.

ernilambar avatar Jan 26 '24 10:01 ernilambar