[wp-trac] [WordPress Trac] #63524: Add DISABLE_WP_CRON to site health constants

WordPress Trac noreply at wordpress.org
Thu Jun 5 13:58:26 UTC 2025


#63524: Add DISABLE_WP_CRON to site health constants
-------------------------------------------------+-------------------------
 Reporter:  leedxw                               |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Site Health                          |     Version:  6.8
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-test-info has-         |     Focuses:
  screenshots 2nd-opinion                        |
-------------------------------------------------+-------------------------

Comment (by peterwilsoncc):

 I briefly discussed this with @desrosj at the WCEU contributor day.

 Incorrectly setting `DISABLE_WP_CRON === true` without configuring a real
 cron system will trigger site health reports that wp-cron is not firing
 correctly. For hosting providers attempting to provide support to users,
 including the configuration information could prove helpful.

 I've not worked in hosting support so welcome others' views who have had
 personal experience.

 ----

 Patch feedback:

 I agree that `DISABLE_WP_CRON: Disabled` would not be helpful due to the
 double negative. However, I'd prefer it to display as `true` or similar
 rather than the `1` displayed when using the current patch.

 For the case in which the constant is defined, I'd suggest the text be
 `WP-Cron disabled` vs `WP-Cron enabled`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63524#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list