CheckPluginForTranslation icon indicating copy to clipboard operation
CheckPluginForTranslation copied to clipboard

Requires WP and Requires PHP

Open ePascalC opened this issue 5 years ago • 2 comments

Add logic as per https://core.trac.wordpress.org/ticket/46938

ePascalC avatar Jun 18 '19 06:06 ePascalC

'Requires WP' is not a valid tag, should be 'Requires at least' 'Requires PHP' and 'Requires at least' should go in the main plugin file

Checks:

  • If 'Requires WP' is found, warning that it should be 'Requires at least'
  • If they are in readme AND in main plugin file, recomendation to remove from readme (the ones in readme are not taken into account since WP 5.3)
  • If they are only in readme, warning to move them to plugin file (currently they are still taken into account, but deprecated since WP 5.3)

ePascalC avatar Aug 30 '19 11:08 ePascalC

https://github.com/bbpress/bbPress/pull/2/files

ePascalC avatar May 27 '20 13:05 ePascalC