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
When running plugin check in a Windows environment the plugin check doesn't find the readme.txt file.
It's probably a forward slash / backslash problem in trait Find_Readme()
In my example:
$plugin_relative_path is C:\apache\htdocs\wordpress/wp-content/plugins/field-block-for-acf-pro/
but the $files array has a backslash after the plugin name.
When running plugin check in a Windows environment the plugin check doesn't find the readme.txt file.
It's probably a forward slash / backslash problem in trait Find_Readme()
In my example:
$plugin_relative_path
isC:\apache\htdocs\wordpress/wp-content/plugins/field-block-for-acf-pro/
but the $files array has a backslash after the plugin name.
See also #271
Scenario
The Warning
no_plugin_readme
with message "The plugin readme.txt does not exist".The Edit Link works for this file.
Environment
Windows: 11
WordPress: 6.4.3
PHP: 8.3
plugin-check version: 1.0.1
Additional observations
The Edit Link doesn't work for the other messages. The path is incorrect.
https://s.b/wordpress/wp-admin/plugin-editor.php?plugin=field-block-for-acf-pro%2Ffield-block-for-acf-pro.php&file=field-block-for-acf-pro%2FC%3A%5Capache%5Chtdocs%5Cwordpress%2Fwp-content%2Fplugins%2Ffield-block-for-acf-pro%5Cphpunit.xml.dist
https://s.b/wordpress/wp-admin/plugin-editor.php?plugin=field-block-for-acf-pro%2Ffield-block-for-acf-pro.php&file=field-block-for-acf-pro%2FC%3A%5Capache%5Chtdocs%5Cwordpress%2Fwp-content%2Fplugins%2Ffield-block-for-acf-pro%5C.git
The text was updated successfully, but these errors were encountered: