Skip to content
Commit f2c85f71 authored by Scott Taylor's avatar Scott Taylor
Browse files

In `wpdb::db_connect()`, allow the loading of a custom database error template...

In `wpdb::db_connect()`, allow the loading of a custom database error template - this is already allowed in `dead_db()`.

In `dead_db()`, move the call to `wp_load_translations_early()` before the inclusion of the `db-error.php` file to allow translation in both locations before the template is loaded.

Props sbruner, kovshenin.
Fixes #25703.


Built from https://develop.svn.wordpress.org/trunk@27056


git-svn-id: https://core.svn.wordpress.org/trunk@26929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent dae54d40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment