Changeset 15660
- Timestamp:
- 09/26/2010 08:31:16 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r15596 r15660 1137 1137 * Retrieve boundary post. 1138 1138 * 1139 * Boundary being either the first or last post by publish date within the con traitns specified1139 * Boundary being either the first or last post by publish date within the constraints specified 1140 1140 * by in same category or excluded categories. 1141 1141 * … … 1177 1177 $order = $start ? 'ASC' : 'DESC'; 1178 1178 1179 return get_posts( array('numberposts' => 1, ' no_found_rows' => true, 'order' => $order, 'orderby' => 'ID', 'category' => $categories) );1179 return get_posts( array('numberposts' => 1, 'category' => $categories, 'order' => $order) ); 1180 1180 } 1181 1181
Note: See TracChangeset
for help on using the changeset viewer.