Changeset 51076
- Timestamp:
- 06/05/2021 03:45:10 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-fatal-error-handler.php
r50272 r51076 183 183 if ( true === $handled && wp_is_recovery_mode() ) { 184 184 $message = __( 'There has been a critical error on this website, putting it in recovery mode. Please check the Themes and Plugins screens for more details. If you just installed or updated a theme or plugin, check the relevant page for that first.' ); 185 } elseif ( is_protected_endpoint() ) {185 } elseif ( is_protected_endpoint() && wp_recovery_mode()->is_initialized() ) { 186 186 $message = __( 'There has been a critical error on this website. Please check your site admin email inbox for instructions.' ); 187 187 } else {
Note: See TracChangeset
for help on using the changeset viewer.