[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 16:56:03 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 TimothyBlynJacobs):

 I think this is because `wp_initial_constants()` is not called until after
 `wp_register_fatal_error_handler()`. The only meaningful changes between
 those two calls is the loading of the version file. It seems like it'd be
 fine to move the fatal error handler registration after that function
 call.

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


More information about the wp-trac mailing list