diff --git a/Wordpress/Wordpress.php b/Wordpress/Wordpress.php index 01c51e7..705d098 100644 --- a/Wordpress/Wordpress.php +++ b/Wordpress/Wordpress.php @@ -77,7 +77,7 @@ public function getContent() define('WP_USE_THEMES', true); - global $wp, $wp_the_query, $wp_query, $allowedentitynames; + global $wp, $wp_the_query, $wpdb, $wp_query, $allowedentitynames; $loader = $this->getWordpressDirectory() . 'wp-blog-header.php';