You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Plugin Checker currently examines all files, including those in subfolders, to validate readme.txt and readme.md files. However, this behaviour should be adjusted to focus solely on files in the root directory of the plugin for readme checks.
WordPress allows and parses readme.txt and readme.md files in the root directory of the plugin. Therefore, the Plugin Checker should be updated to consider only these root directory files.
For example, when testing the WooCommerce plugin, the Plugin Checker returned an array of files as follows:
The Stable Tag in your readme file does not match the version in your main plugin file.
To address this issue, the Plugin Checker should be updated to only report errors for readme.txt and readme.md files that exist directly in the root directory of the plugin and not in any subfolders. This adjustment will ensure accurate validation of these critical files.
Steps to Reproduce
Install and activate WooCommerce Plugin
Run checks using Plugin Checker
It show stable_tag_mismatch error from sub directory file packages/action-scheduler/readme.txt
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the bug
Followup issue #239 (comment)
The Plugin Checker currently examines all files, including those in subfolders, to validate readme.txt and readme.md files. However, this behaviour should be adjusted to focus solely on files in the root directory of the plugin for readme checks.
WordPress allows and parses readme.txt and readme.md files in the root directory of the plugin. Therefore, the Plugin Checker should be updated to consider only these root directory files.
For example, when testing the WooCommerce plugin, the Plugin Checker returned an array of files as follows:
The specific error highlighted was:
FILE: packages/action-scheduler/readme.txt
To address this issue, the Plugin Checker should be updated to only report errors for readme.txt and readme.md files that exist directly in the root directory of the plugin and not in any subfolders. This adjustment will ensure accurate validation of these critical files.
Steps to Reproduce
stable_tag_mismatch
error from sub directory filepackages/action-scheduler/readme.txt
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: