WordPress.org

Make WordPress Core

Ticket #20537: 20537.diff

File 20537.diff, 481 bytes (added by ryan, 6 years ago)
  • wp-cron.php

     
    2626        require_once('./wp-load.php');
    2727}
    2828
     29// Don't process cron for suspended blogs.
     30if ( is_multisite() && ( $current_blog->archived || $current_blog->spam || $current_blog->deleted ) )
     31        return;
     32
    2933// Uncached doing_cron transient fetch
    3034function _get_cron_lock() {
    3135        global $_wp_using_ext_object_cache, $wpdb;