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

WordPress Trac noreply at wordpress.org
Mon Apr 8 15:53:51 UTC 2019

#46825: Disable WSOD protection when WP_DEBUG is true
 Reporter:  arena           |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  5.2
Component:  Bootstrap/Load  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  servehappy      |     Focuses:
Changes (by Clorith):

 * keywords:  servehappy has-patch => servehappy


 [attachment:"46825.patch"] doesn't account for users manually declaring
 the constant in their `wp-config.php` file. It's also a non-started to
 move the debug handler at this time, a substantial amount of processes run
 before the current placement of it, and it's too late in the 5.2 release
 cycle to be considering this.

 I would also say there's a case to be made that you do not want these two
 features interconnected like this, I may want to enable debug mode to find
 a warning or conflict in some code, but I still want the WSOD protection
 to be functional.

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

More information about the wp-trac mailing list