Make WordPress Core


Ignore:
Timestamp:
05/03/2010 09:46:19 PM (14 years ago)
Author:
ryan
Message:

Don't suppress errors when including cron if WP_DEBUG. Props sivel. fixes #11507

File:
1 edited

Legend:

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

    r12584 r14414  
    225225        flush();
    226226
    227         @include_once(ABSPATH . 'wp-cron.php');
     227        WP_DEBUG ? include_once( ABSPATH . 'wp-cron.php' ) : @include_once( ABSPATH . 'wp-cron.php' );
    228228        return;
    229229    }
Note: See TracChangeset for help on using the changeset viewer.