Small scripts and code to help strengthen your WordPress website.
Feel free to use and modify as you see fit, though I would appreciate keeping the attribution in place. Rock on!
Edit the constants and HTML in the script, then place the file in /wp-content
and you'll be notified via email when someone accesses your site and WordPress
is unable to reach the database. The user will see a helpful error page, and
automatically retry every 30 seconds for a better user experience.