Ticket #10886: lighter-load.2.patch
File lighter-load.2.patch, 739 bytes (added by , 15 years ago) |
---|
-
wp-includes/classes.php
487 487 */ 488 488 function main($query_args = '') { 489 489 $this->init(); 490 $this->parse_request($query_args); 491 $this->send_headers(); 492 $this->query_posts(); 493 $this->handle_404(); 494 $this->register_globals(); 495 do_action_ref_array('wp', array(&$this)); 490 491 if ( apply_filters('run_queries', true, $query_args) === true ) { 492 $this->parse_request($query_args); 493 $this->send_headers(); 494 $this->query_posts(); 495 $this->handle_404(); 496 $this->register_globals(); 497 do_action_ref_array('wp', array(&$this)); 498 } 496 499 } 497 500 498 501 /**