Is there a plugin that will override the “Error establishing a database connection” message? [closed]

http://yoast.com/custom-wordpress-database-error-pages/ You can make your own Database Error page by adding a db-error.php to your wp-content folder (/wp-content/db-error.php). You can find a good example of such a page in the link above. Don’t forget adding header(“HTTP/1.0 500 Internal Server Error”); in that file so it get a proper header message.

Building a custom REST API

TL;DR Yes, WordPress can certainly act as a backend for a mobile app. Yes, a page can act as a rest endpoint / interface. No, a theme template is not the right territory for the logic. Write your own plugin. Pointers I find it hard to believe that no one else has done this. I, … Read more

How to maintain W3C standards compliance of a theme

Correction, your theme was still compliant with XHTML 1.1 and CSS 2.1, but the plug-ins you added injected additional code that wasn’t compliant. Unfortunately, there’s no easy way to maintain compliance if you’re using plug-ins. The best you can do is validate your theme and all of the markup you are personally responsible for, then … Read more

How to detect WP plugins used on a site

Usually, you can detect WordPress itself by looking at the site’s source code for the WordPress generator meta tag: <meta name=”generator” content=”WordPress 3.0.1″ /> However, some sites remove this tag to hide the fact that they’re running WP. There’s no foolproof way to detect the list of plug-ins that are running on a site, though. … Read more

Generate dormant hook references

There is no script or plugin that I know of to do what you want. As you have stated, there are scripts (even global variables) which you can use to print filters and actions currently being used. As for dormant filters and actions, I have written two very basic functions (with some help here and … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)