Bug #1856
closed.htpasswd on cdev conflicting with WP cron
0%
Description
Since we added .htpasswd on cdev, I've noticed that Reply By Email has stopped working.
I believe this has something to do with how WordPress needs to use wp_remote_post() to ping the site and spawn cron. Since wp_remote_post() cannot access the site without authentication, I'll probably have to write a small override filter to bypass the arguments in wp_remote_post().
Boone: I've added you as a watcher. Feel free to unwatch!
Updated by Raymond Hoh over 12 years ago
Fixed in https://github.com/castiron/cac/commit/07f1b8cc356fe3f7b71b71342f54b7d859cd8f7c
Boone: I had to filter 'http_request_args' and hardcoded cdev's username and password from .htpasswd so wp_remote_post() can continue to work as expected.
Let me know if you're okay with this!
Updated by Boone Gorges over 12 years ago
- Status changed from New to Resolved
Yergh, I forgot about wp_cron. I bet that explains why we used to have to run alternate cron on cdev. Yes, your solution is perfect, thanks.