Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checking value of DISABLE_WP_CRON before checking status of WP Cron #36

Open
tjdownes opened this issue Feb 21, 2022 · 0 comments
Open

Comments

@tjdownes
Copy link

In QueueStatus check_status there's a check to see if WP Cron is working.

Many of us, for performance reasons or otherwise, disable WP Cron and use the system cron to execute these jobs. We still receive the warning. While not critical, it would be nice to see these warnings go away.

I'd create a PR for this, but there are some questions surrounding this. Primarily, this may create confusion for someone who inadvertently disable WP Cron.

We could simply check the value of DISABLE_WP_CRON and skip the notification in check_status, or maybe the alternative in the setup and settings is to let the user know that WP Cron is disabled and allow them to turn the warning on/off and carry that setting into the status check.

Anyone have thoughts on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant