[wp-hackers] Change "Error Establishing a Database Connection" error message

Shumail Mohy-ud-din shumailmohyuddin at gmail.com
Tue Apr 15 17:38:39 UTC 2014


Check line 1158 of wp-db.php - "<h1>Error establishing a database
I guess you can change from there.

Kind Regards,
Shumail Mohy-ud-Din
Computer Science Student,
National University of Science & Technology,PK
- www.ShumailMohyuddin.com

On Tue, Apr 15, 2014 at 10:27 PM, Ryan B <cloudpresshosting at gmail.com>wrote:

> I am wanting to change this error message to something a little more useful
> to an end user, and also have it trigger an email alert to me if this error
> occurs. Is there a hook or filter I could use to change the output given to
> the user when a database connection error occurs?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list