Ticket #17745: sql_optimization.patch
| File sql_optimization.patch, 981 bytes (added by , 15 years ago) |
|---|
-
inc/widgets.php
60 60 $ephemera_args = array( 61 61 'order' => 'DESC', 62 62 'posts_per_page' => $number, 63 'no paging' => 0,63 'no_found_rows' => true, 64 64 'post_status' => 'publish', 65 65 'post__not_in' => get_option( 'sticky_posts' ), 66 66 'tax_query' => array( -
showcase.php
49 49 'post__in' => $sticky, 50 50 'post_status' => 'publish', 51 51 'posts_per_page' => 10, 52 'no_found_rows' => true, 52 53 ); 53 54 54 55 // The Featured Posts query. … … 174 175 'operator' => 'NOT IN', 175 176 ), 176 177 ), 178 'no_found_rows' => true, 177 179 ); 178 180 // Our new query for the Recent Posts section. 179 181 $recent = new WP_Query();
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)