Changeset 6458 for branches/2.3
- Timestamp:
- 12/21/2007 07:28:21 PM (18 years ago)
- File:
-
- 1 edited
-
branches/2.3/wp-includes/wp-db.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/wp-includes/wp-db.php
r6455 r6458 21 21 var $col_info; 22 22 var $queries; 23 var $ready = false; 23 24 24 25 // Our tables … … 75 76 <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> 76 77 "); 78 return; 77 79 } 78 80 … … 81 83 82 84 $this->select($dbname); 85 $this->ready = true; 83 86 } 84 87 … … 102 105 </ul> 103 106 <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>"); 107 return; 104 108 } 105 109 } … … 196 200 197 201 function query($query) { 202 if ( ! $ready ) 203 return false; 204 198 205 // filter the query, if filters are available 199 206 // 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.