Ticket #23811: 23811.2.diff
File 23811.2.diff, 719 bytes (added by , 12 years ago) |
---|
-
wp-includes/default-constants.php
55 55 // Add define('WP_DEBUG_DISPLAY', null); to wp-config.php use the globally configured setting for 56 56 // display_errors and not force errors to be displayed. Use false to force display_errors off. 57 57 if ( !defined('WP_DEBUG_DISPLAY') ) 58 define( 'WP_DEBUG_DISPLAY', true);58 define( 'WP_DEBUG_DISPLAY', ! ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST ) ); 59 59 60 60 // Add define('WP_DEBUG_LOG', true); to enable error logging to wp-content/debug.log. 61 61 if ( !defined('WP_DEBUG_LOG') )