Drop in Wordpress db wrapper to support multi-master clusters