Changeset 27056
- Timestamp:
- 01/29/2014 05:27:24 AM (11 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r26926 r27056 2794 2794 global $wpdb; 2795 2795 2796 wp_load_translations_early(); 2797 2796 2798 // Load custom DB error template, if present. 2797 2799 if ( file_exists( WP_CONTENT_DIR . '/db-error.php' ) ) { … … 2808 2810 nocache_headers(); 2809 2811 header( 'Content-Type: text/html; charset=utf-8' ); 2810 2811 wp_load_translations_early();2812 2812 ?> 2813 2813 <!DOCTYPE html> -
trunk/src/wp-includes/wp-db.php
r26512 r27056 1155 1155 if ( !$this->dbh ) { 1156 1156 wp_load_translations_early(); 1157 1158 // Load custom DB error template, if present. 1159 if ( file_exists( WP_CONTENT_DIR . '/db-error.php' ) ) { 1160 require_once( WP_CONTENT_DIR . '/db-error.php' ); 1161 die(); 1162 } 1163 1157 1164 $this->bail( sprintf( __( " 1158 1165 <h1>Error establishing a database connection</h1>
Note: See TracChangeset
for help on using the changeset viewer.