[wp-trac] [WordPress Trac] #25703: Allow custom template for database connection failure

WordPress Trac noreply at wordpress.org
Wed Jan 29 05:27:26 UTC 2014


#25703: Allow custom template for database connection failure
------------------------------+-----------------------------
 Reporter:  sbruner           |       Owner:  wonderboymusic
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  3.9
Component:  Database          |     Version:  3.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"27056"]:
 {{{
 #!CommitTicketReference repository="" revision="27056"
 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.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/25703#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list