tillkruss / Nginx-FastCGI-Cache

A WordPress plugin that purges Nginx cache zones.
48 stars 25 forks source link

request_filesystem_credentials during cron #2

Closed ghost closed 8 years ago

ghost commented 8 years ago

When using wp-cron, events does not always trigger a cache purge i.e save_post. I got an error message saying request_filesystem_credentials is not defined in nginx-cache.php.

ghost commented 8 years ago

It seems like including the /wp-admin/includes/file.php solves the problem. Not entirely sure though, going to test some more.

ghost commented 8 years ago

I'm closing this issue, it's already fixed. I were using the wordpress.org repository version, which is older. Please push update to the wordpress plugin repository.