Commit 868616c
committed
Add site health check for DISABLE_WP_CRON configuration
Add a new health check to warn site administrators when the DISABLE_WP_CRON constant is enabled. While it's acceptable to use a system cron to call wp-cron.php, having WP-Cron completely disabled can cause delays in:
- Publishing posts to the fediverse
- Processing reactions (likes, boosts, replies)
- Other scheduled ActivityPub tasks
The health check:
- Shows as "good" when WP-Cron is enabled (default)
- Shows as "recommended" warning when DISABLE_WP_CRON is true
- Provides clear explanation of potential impacts
- Includes link to WordPress documentation on setting up system cron
- Suggests running system cron every 1-5 minutes for optimal performance1 parent f0d6834 commit 868616c
1 file changed
+45
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
112 | 117 | | |
113 | 118 | | |
114 | 119 | | |
| |||
539 | 544 | | |
540 | 545 | | |
541 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
542 | 587 | | |
0 commit comments