WordPress.org

Make WordPress Core

Ticket #49577: 49577.patch

File 49577.patch, 748 bytes (added by Clorith, 3 months ago)
  • src/wp-admin/includes/class-wp-site-health.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    22182218         */
    22192219        public function maybe_create_scheduled_event() {
    22202220                if ( ! wp_next_scheduled( 'wp_site_health_scheduled_check' ) && ! wp_installing() ) {
    2221                         wp_schedule_event( time(), 'weekly', 'wp_site_health_scheduled_check' );
     2221                        wp_schedule_event( ( time() + DAY_IN_SECONDS ), 'weekly', 'wp_site_health_scheduled_check' );
    22222222                }
    22232223        }
    22242224