Maeve Lander on "[Plugin: WP Crontrol] DISABLE_WP_CRON intentionally set to 'true'"

ساخت وبلاگ

cryptodechange
Member
Posted 3 weeks ago #

Hello,

When scheduling wp-cron via. linux cron and disabling WP_CRON, this still produces the following waing: 'The DISABLE_WP_CRON constant is set to true. WP-Cron spawning is disabled'.

Though everything is working fine, it is simply a mild annoyance. Would it be possible to hide this message?

https://wordpress.org/plugins/wp-crontrol/

Thanks for the feedback!

I'm not so sure that hiding it is a good idea. I guess I could change this particular message so it doesn't appear as a bright red error, but as an informational message instead (similar to the "Post updated" message), and any real errors (eg. problems with HTTP connections) would continue to be displayed as an error.

cryptodechange
Member
Posted 3 weeks ago #

Perhaps an 'X' to hide the message, or check if inteal crons are outstanding/waiting to be executed? Either way, it's not necessary as I previously mentioned :)

Hey guys just piping in here... We have the same issue on WP Engine hosting when using WP Engine's Alteate Cron. More info https://wpengine.com/support/wp-cron-wordpress-scheduling/

Just like @cryptodechange's use-case, the DISABLE_WP_CRON constant is intentionally set to true.

I would definitely not hide the message, but perhaps a 'yes I know, don't bug me about it' option? Or an advanced setting in the plugin to disable that notice?

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 115 تاريخ : جمعه 3 ارديبهشت 1395 ساعت: 14:54