Closed jphorn closed 5 years ago
My developer (@stayallive added an extra check for HTTP_HOST to make it more compliant with cron jobs and/or (our) API workers. Would be appreciated if you could add it as well.
if ( empty( $_SERVER['HTTP_HOST'] ) || ( $_SERVER['HTTP_HOST'] !== 'www.mashshare.net' && $_SERVER['HTTP_HOST'] !== 'src.wordpress-develop.dev' ) ) {
Hi @jphorn Sure will add it into next version. Will be released today.
https://github.com/mashshare/MashShare/blob/78f402302ef2519f5ab4cbdb9cf4a1e295a781e3/includes/template-functions.php#L1331
My developer (@stayallive added an extra check for HTTP_HOST to make it more compliant with cron jobs and/or (our) API workers. Would be appreciated if you could add it as well.
new