Ticket #14035: 14035.2.diff
File 14035.2.diff, 788 bytes (added by , 15 years ago) |
---|
-
wp-includes/link-template.php
1147 1147 /** 1148 1148 * Retrieve boundary post. 1149 1149 * 1150 * Boundary being either the first or last post by publish date within the con traitns specified1150 * Boundary being either the first or last post by publish date within the constraints specified 1151 1151 * by in same category or excluded categories. 1152 1152 * 1153 1153 * @since 2.8.0 … … 1187 1187 1188 1188 $order = $start ? 'ASC' : 'DESC'; 1189 1189 1190 return get_posts( array('numberposts' => 1 , 'no_found_rows' => true, 'order' => $order, 'orderby' => 'ID', 'category' => $categories) );1190 return get_posts( array('numberposts' => 1) ); 1191 1191 } 1192 1192 1193 1193 /**