Ticket #4207: wp-db.php.2.patch
| File wp-db.php.2.patch, 565 bytes (added by darkfate, 5 years ago) |
|---|
-
wp-db.php
401 401 function bail($message) { // Just wraps errors in a nice header and footer 402 402 if ( !$this->show_errors ) 403 403 return false; 404 wp_die($message); 404 if ( file_exists('wp-content/db-down.php') ){ 405 include('wp-content/db-down.php'); 406 die(); 407 } else { 408 wp_die($message); 409 } 405 410 } 406 411 /** 407 412 * Checks wether of not the database version is high enough to support the features WordPress uses
