Changeset 8134 for trunk/wp-includes/wp-db.php
- Timestamp:
- 06/20/2008 03:17:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/wp-db.php
r7579 r8134 11 11 define('ARRAY_A', 'ARRAY_A', false); 12 12 define('ARRAY_N', 'ARRAY_N', false); 13 14 if (!defined('SAVEQUERIES'))15 define('SAVEQUERIES', false);16 13 17 14 class wpdb { … … 280 277 281 278 // Perform the query via std mysql_query function.. 282 if ( SAVEQUERIES)279 if ( defined('SAVEQUERIES') && SAVEQUERIES ) 283 280 $this->timer_start(); 284 281 … … 286 283 ++$this->num_queries; 287 284 288 if ( SAVEQUERIES)285 if ( defined('SAVEQUERIES') && SAVEQUERIES ) 289 286 $this->queries[] = array( $query, $this->timer_stop(), $this->get_caller() ); 290 287
Note: See TracChangeset
for help on using the changeset viewer.