Closed jordantrizz closed 11 months ago
Thanks for the report, @jordantrizz !
Feel free to submit a pull request, if you'd like. Here is some guidance on our pull request best practices, if it's helpful.
I would love to address this, but time is an issue, and I'm still mediocre at programming at best. So I'd have to take some time to figure out how best to implement the change.
🔨
Bug Report
Describe the current, buggy behavior
The check "cache-flush" has issues when the wp-content folder has many files, the site that was affected had 40,000 files in the wp-content directory.
Describe how other contributors can replicate this bug
Run
wp doctor check cache-flush
Describe what you would expect as the correct outcome
Only scan .php or rebuild the function so that it doesn't exceed memory limits.
Let us know what environment you are running this on