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
On scan page add a checkbox that will save logs of each scan check.
Save one(or multiple) logs and create a way to view(delete also) the log.
If multiple logs are going to be saved show a list of current logs and allow user to view or delete it.
Saving location: wp-content/pcp-files
Log could be something like:
General checks
Running PHPCS checks
0 errors found in file xxxxx
1 error found in file yyyyy
Performance checks
Running WP Query Params checks
Query xxxx must ....
Query yyy is ok
This will help on:
Easy save/send report by user later maybe sharing it later
Debug any issue that will stop the scan on any step
Revisiting this, this doesn't seem useful to me. If someone needs details, we could add debug output to the WP-CLI command and then you can save the output in a file, but I really don't see the use case of sending a log file to someone else.
Activity
swissspidy commentedon Nov 6, 2024
Previously/Related: #558
swissspidy commentedon Apr 6, 2025
Revisiting this, this doesn't seem useful to me. If someone needs details, we could add debug output to the WP-CLI command and then you can save the output in a file, but I really don't see the use case of sending a log file to someone else.
And otherwise I'd recommend using something like https://github.com/WordPress/plugin-check-action anyway.