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
195 stars 39 forks source link

Avoid plugin header text domain check for single file plugin #410

Closed ernilambar closed 4 months ago

ernilambar commented 5 months ago

This Plugin_Header_Text_Domain_Check is not applicable to single file plugin because logic of finding plugin slug here will always return plugins as plugin slug value. Since we generally don't accept single file plugin in the directory and also message here is of WARNING type, bailing this check would be desirable I believe.

ernilambar commented 5 months ago

cc: @swissspidy @mukeshpanchal27