Changeset 6459
- Timestamp:
- 12/21/2007 07:30:08 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/wp-db.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/wp-db.php
r6426 r6459 22 22 var $queries; 23 23 var $prefix = ''; 24 var $ready = false; 24 25 25 26 // Our tables … … 73 74 <p>If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the <a href='http://wordpress.org/support/'>WordPress Support Forums</a>.</p> 74 75 "); 76 return; 75 77 } 76 78 … … 79 81 80 82 $this->select($dbname); 83 $this->ready = true; 81 84 } 82 85 … … 120 123 </ul> 121 124 <p>If you don't know how to setup a database you should <strong>contact your host</strong>. If all else fails you may find help at the <a href='http://wordpress.org/support/'>WordPress Support Forums</a>.</p>"); 125 return; 122 126 } 123 127 } … … 219 223 220 224 function query($query) { 225 if ( ! $ready ) 226 return false; 227 221 228 // filter the query, if filters are available 222 229 // NOTE: some queries are made before the plugins have been loaded, and thus cannot be filtered with this method
Note: See TracChangeset
for help on using the changeset viewer.