[wp-trac] [WordPress Trac] #47265: Uncaught Error: Call to undefined function load_default_textdomain() in /wp-includes/class-wp-fatal-error-handler.php:41
WordPress Trac
noreply at wordpress.org
Wed May 15 18:18:10 UTC 2019
#47265: Uncaught Error: Call to undefined function load_default_textdomain() in
/wp-includes/class-wp-fatal-error-handler.php:41
-----------------------------------------+----------------------
Reporter: daxelrod | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.2.1
Component: Bootstrap/Load | Version: 5.2
Severity: normal | Resolution: fixed
Keywords: has-patch servehappy commit | Focuses:
-----------------------------------------+----------------------
Changes (by desrosj):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"45311" 45311]:
{{{
#!CommitTicketReference repository="" revision="45311"
Bootstrap/Load: Prevent PHP errors when a drop-in triggers fatal error
protection.
When a drop-in (such as `advanced-cache.php`) contains a PHP error,
additional PHP errors are caused when displaying the error protection
screen because `load_default_textdomain()` and `WP_Error` are not yet
available.
Though recovery mode is not supported for `mu-plugins` and drop-ins, fatal
error protection is. This change ensures the error screen is displayed
when a fatal error is encountered within a drop-in and not a white screen.
Props TimothyBlynJacobs, spacedmonkey, daxelrod.
Fixes #47265.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47265#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list