Index: class-wp-query.php
===================================================================
--- class-wp-query.php	
+++ class-wp-query.php
@@ -32,6 +32,7 @@

	 * Retrieves an array of posts based on query variables.
	 *
	 * There are a few filters and actions that can be used to modify the post
	 * database query.
	 *
	 * @since 1.5.0
	 * 
+	 * @global wpdb $wpdb WordPress database abstraction object.+ * @global WP $wp Current WordPress environment instance.
	 *
	 * @return WP_Post[]|int[] Array of post objects or post IDs.
	 */
	public function get_posts() {
	
	global $wpdb;
