Otomaties WP Cron Basic Auth
Fix for WP Cron when using Basic Auth
by Tom Broucke · github.com/tombroucke/otomaties-wp-cron-basic-auth
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/tombroucke/otomaties-wp-cron-basic-auth/archive/refs/heads/main.zipOtomaties core
Installation
composer require tombroucke/otomaties-wp-cron-basic-auth
Configuration
Bedrock
In .env on staging website:
BASIC_AUTH_USER='your-basic-auth-username'
BASIC_AUTH_PASS='your-basic-auth-your-password'
Vanilla WP
In wp-config.php
define('BASIC_AUTH_USER', 'your-basic-auth-username');
define('BASIC_AUTH_PASS', 'your-basic-auth-your-password');