Skip to content

Instantly share code, notes, and snippets.

@jpcontrerasv
Created July 30, 2014 14:53
Show Gist options
  • Save jpcontrerasv/b6f50ab2e5c4a4a11833 to your computer and use it in GitHub Desktop.
Save jpcontrerasv/b6f50ab2e5c4a4a11833 to your computer and use it in GitHub Desktop.
Fix Wp - DB
A workaround fix is to wrap the wpdp class in wp-includes/wp-db.php in the following:
Line 52:
if(class_exists('wpdb') != true)
{
class wpdb {
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment