From fa1f09bcb32066e0d1348e2db1e96476331c0dc4 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 21 Dec 2007 19:54:46 +0000 Subject: [PATCH] Forgot this. see #5495 git-svn-id: https://develop.svn.wordpress.org/trunk@6460 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/wp-db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 335fd01eec..8d2573a794 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -222,7 +222,7 @@ class wpdb { // Basic Query - see docs for more detail function query($query) { - if ( ! $ready ) + if ( ! $this->ready ) return false; // filter the query, if filters are available