Ticket #10886: 10886.diff
File 10886.diff, 601 bytes (added by , 15 years ago) |
---|
-
wp-includes/functions.php
### Eclipse Workspace Patch 1.0 #P wordpress-trunk
1453 1453 */ 1454 1454 function wp( $query_vars = '' ) { 1455 1455 global $wp, $wp_query, $wp_the_query; 1456 $wp->main( $query_vars );1457 1456 1457 // Return false to this filter to stop WordPress run it's own queries for this page 1458 if ( apply_filters('run_wp_main', true) ) 1459 $wp->main( $query_vars ); 1460 1458 1461 if( !isset($wp_the_query) ) 1459 1462 $wp_the_query = $wp_query; 1460 1463 }