Skip to content

Commit 1dae012

Browse files
committed
Fixed loading textdomain in
1 parent 00bd8a2 commit 1dae012

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44

55
- Fixed `wp_cache_flush_group` issue with Predis and replication connection
6+
- Fixed rare fatal error in `show_error_and_die()` (one more time)
67

78
## 2.5.2
89

includes/object-cache.php

+3
Original file line numberDiff line numberDiff line change
@@ -2971,6 +2971,9 @@ protected function show_error_and_die( Exception $exception ) {
29712971
add_filter( 'pre_determine_locale', function () {
29722972
return defined( 'WPLANG' ) ? WPLANG : 'en_US';
29732973
} );
2974+
add_filter( 'pre_get_language_files_from_path', function () {
2975+
return [];
2976+
} );
29742977
}
29752978

29762979
// Load custom Redis error template, if present.

0 commit comments

Comments
 (0)