Ticket #26937: 26937.3.diff
| File 26937.3.diff, 721 bytes (added by , 12 years ago) |
|---|
-
src/wp-includes/link-template.php
1305 1305 'update_post_term_cache' => false, 1306 1306 'update_post_meta_cache' => false, 1307 1307 'split_the_query' => wp_using_ext_object_cache(), 1308 'fields' => 'ids', 1308 1309 ); 1309 1310 1310 1311 $tax_query = array(); … … 1375 1376 $query = new WP_Query( $query_args ); 1376 1377 1377 1378 if ( $query->posts ) { 1378 $this->adjacent_post = $query->post; 1379 $post_id = reset( $query->posts ); 1380 $this->adjacent_post = get_post( $post_id ); 1379 1381 } else { 1380 1382 $this->adjacent_post = false; 1381 1383 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)