Open curtisbelt opened 5 years ago
They added a new class ABOVE the SHORTINIT conditional in wp-settings.php.
SHORTINIT
wp-settings.php
https://github.com/WordPress/WordPress/blob/4e4e8fa110212083d2d831db0ce511a9ffd9f51f/wp-settings.php#L21
Which calls load_default_textdomain()
load_default_textdomain()
https://github.com/WordPress/WordPress/blob/d48b70907171773b3eba9b670589a3f4effa4ba1/wp-includes/class-wp-fatal-error-handler.php#L41
But that function is declared in l10n.php, and that is not included until after the SHORTINIT cut off.
https://github.com/WordPress/WordPress/blob/4e4e8fa110212083d2d831db0ce511a9ffd9f51f/wp-settings.php#L150
They added a new class ABOVE the
SHORTINIT
conditional inwp-settings.php
.https://github.com/WordPress/WordPress/blob/4e4e8fa110212083d2d831db0ce511a9ffd9f51f/wp-settings.php#L21
Which calls
load_default_textdomain()
https://github.com/WordPress/WordPress/blob/d48b70907171773b3eba9b670589a3f4effa4ba1/wp-includes/class-wp-fatal-error-handler.php#L41
But that function is declared in l10n.php, and that is not included until after the
SHORTINIT
cut off.https://github.com/WordPress/WordPress/blob/4e4e8fa110212083d2d831db0ce511a9ffd9f51f/wp-settings.php#L150