WordPress.org

Make WordPress Core

Ticket #11507: 11507.diff

File 11507.diff, 400 bytes (added by sivel, 5 years ago)

Don't suppress when WP_DEBUG is enabled

  • wp-includes/cron.php

     
    224224                while ( @ob_end_flush() ); 
    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        } 
    230230