[wp-trac] [WordPress Trac] #46047: Rename shutdown handler constant to allow it to be used for disabling it altogether

WordPress Trac noreply at wordpress.org
Tue Jan 22 15:34:05 UTC 2019


#46047: Rename shutdown handler constant to allow it to be used for disabling it
altogether
----------------------------------+-----------------------
 Reporter:  schlessera            |       Owner:  flixos90
     Type:  enhancement           |      Status:  closed
 Priority:  normal                |   Milestone:  5.1
Component:  Bootstrap/Load        |     Version:  trunk
 Severity:  normal                |  Resolution:  fixed
 Keywords:  has-patch servehappy  |     Focuses:
----------------------------------+-----------------------

Comment (by jtsternberg):

 While testing this, trying to add my own fatal error handler (fatal-error-
 handler.php), the `defined( 'WP_CONTENT_DIR' )` check is always false
 (unless, of course, I define it directly in my wp-config.php file). Does
 that sound correct? If so, when documenting this option, should also
 document that defining it in your wp-config.php is important (at which
 point, why not allow defining the path to the custom fatal error handler
 directly??).

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


More information about the wp-trac mailing list