Since updating to version 3.3 RC1, it seems that my database queries have increased, but I can’t be sure because I’m getting mixed messages.
When I use
<?php echo get_num_queries(); ?>it reports that it takes 45 queries to load my home page, definitely more than I would like. However, when I examine the queries using
define( 'SAVEQUERIES', true ); print_r( $wpdb->queries );
I only see 18 queries listed which is about what I have come to expect. Does anyone know where this discrepancy is coming from and which one is correct?
- The topic ‘Number of Queries Being Run Discrepancy’ is closed to new replies.