[wp-trac] [WordPress Trac] #25703: Allow custom template for database connection failure
WordPress Trac
noreply at wordpress.org
Thu Jan 23 12:32:33 UTC 2014
#25703: Allow custom template for database connection failure
------------------------------+------------------
Reporter: sbruner | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.9
Component: Database | Version: 3.7
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+------------------
Comment (by kovshenin):
Should developers expect translations to be loaded before the db-error.php
drop-in is included?
Because right now it depends on whether `dead_db()` is called in
`is_blog_installed()` or in `wp_set_wpdb_vars()`, and `db_connect()` seems
to suffer from the same issue with the proposed patch. Since we load
translations anyway before displaying the default errors, I guess there's
no problem in loading them for db-error.php.
See [attachment:25703.diff]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25703#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list