Changeset 15701 for trunk/wp-includes/link-template.php
- Timestamp:
- 10/04/2010 09:17:18 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r15660 r15701 1177 1177 $order = $start ? 'ASC' : 'DESC'; 1178 1178 1179 return get_posts( array('numberposts' => 1, 'category' => $categories, 'order' => $order ) );1179 return get_posts( array('numberposts' => 1, 'category' => $categories, 'order' => $order, 'update_post_term_cache' => false, 'update_post_meta_cache' => false) ); 1180 1180 } 1181 1181 … … 1194 1194 */ 1195 1195 function get_boundary_post_rel_link($title = '%title', $in_same_cat = false, $excluded_categories = '', $start = true) { 1196 $posts = get_boundary_post($in_same_cat, $excluded_categories,$start);1196 $posts = get_boundary_post($in_same_cat, $excluded_categories, $start); 1197 1197 // If there is no post stop. 1198 1198 if ( empty($posts) )
Note: See TracChangeset
for help on using the changeset viewer.