Created
July 30, 2014 14:53
-
-
Save jpcontrerasv/b6f50ab2e5c4a4a11833 to your computer and use it in GitHub Desktop.
Fix Wp - DB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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