[wp-trac] [WordPress Trac] #46825: Disable WSOD protection when WP_DEBUG is true

WordPress Trac noreply at wordpress.org
Tue May 21 01:03:55 UTC 2019


#46825: Disable WSOD protection when WP_DEBUG is true
----------------------------+-----------------------
 Reporter:  arena           |       Owner:  (none)
     Type:  enhancement     |      Status:  reopened
 Priority:  normal          |   Milestone:  5.2.2
Component:  Bootstrap/Load  |     Version:  5.2
 Severity:  normal          |  Resolution:
 Keywords:  servehappy      |     Focuses:
----------------------------+-----------------------

Comment (by SergeyBiryukov):

 Replying to [comment:31 afragen]:
 > As I said in [https://core.trac.wordpress.org/ticket/46825#comment:13
 above] this makes setting the constant specifically to false to debug the
 WSOD process rather onerous.

 I might be missing something, but wouldn't this be enough?
 {{{
 define( 'WP_DEBUG', true );
 define( 'WP_DISABLE_FATAL_ERROR_HANDLER', false );
 }}}

 The patch only defines the constant if it hasn't been explicitly defined
 earlier.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46825#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list