[wp-trac] [WordPress Trac] #64577: Enable recovery mode for multisite

WordPress Trac noreply at wordpress.org
Sat Jan 31 06:54:29 UTC 2026


#64577: Enable recovery mode for multisite
---------------------------------------+-----------------------------
 Reporter:  shtrom                     |      Owner:  (none)
     Type:  enhancement                |     Status:  new
 Priority:  normal                     |  Milestone:  Awaiting Review
Component:  Administration             |    Version:
 Severity:  normal                     |   Keywords:
  Focuses:  administration, multisite  |
---------------------------------------+-----------------------------
 In #48929, the mention of a recovery email was removed for multisite
 instances.

 However, looking at the current state of the code, it seems like there is
 support for recovery on multisite instances https://github.com/WordPress
 /wordpress-develop/blob/dc62ecbc345ca1b8d1801eca794d71755b7568f1/src/wp-
 includes/class-wp-fatal-error-handler.php#L187-L200, but it's just never
 activated https://github.com/WordPress/wordpress-
 develop/blob/dc62ecbc345ca1b8d1801eca794d71755b7568f1/src/wp-
 settings.php#L546-L549

 It seems like

 {{{#!php
 if ( ! is_multisite() && wp_is_fatal_error_handler_enabled() ) {
         wp_recovery_mode()->initialize();
 }}}



 could be changed to
 {{{#!php
 if ( wp_is_fatal_error_handler_enabled() ) {
         wp_recovery_mode()->initialize();
 }}}

 in `wp-settings.php`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64577>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list