WordPress.org

Make WordPress Core

Changeset 47068


Ignore:
Timestamp:
01/13/2020 05:03:39 PM (10 months ago)
Author:
SergeyBiryukov
Message:

Cron API: Use WEEK_IN_SECONDS constant for the weekly schedule added in [47062].

Props afercia.
See #47606.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/cron.php

    r47062 r47068  
    826826        ),
    827827        'weekly'     => array(
    828             'interval' => 7 * DAY_IN_SECONDS,
     828            'interval' => WEEK_IN_SECONDS,
    829829            'display'  => __( 'Once Weekly' ),
    830830        ),
Note: See TracChangeset for help on using the changeset viewer.