WordPress.org

Make WordPress Core

Ticket #11837: 11837.diff

File 11837.diff, 495 bytes (added by nacin, 6 years ago)
  • wp-settings.php

     
    216216                ini_set('error_log', WP_CONTENT_DIR . '/debug.log'); 
    217217        } 
    218218} else { 
    219         define('WP_DEBUG', false); 
     219        if ( ! defined('WP_DEBUG') ) 
     220                define('WP_DEBUG', false); 
    220221        if ( defined('E_RECOVERABLE_ERROR') ) 
    221222                error_reporting(E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR); 
    222223        else