Changeset 2538 for trunk/wp-includes/template-functions-links.php
- Timestamp:
- 04/17/2005 05:09:19 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-links.php
r2523 r2538 294 294 } 295 295 296 // Deprecated. Use previous_post_link(). 296 297 function previous_post($format='%', $previous='previous post: ', $title='yes', $in_same_cat='no', $limitprev=1, $excluded_categories='') { 297 298 global $id, $post, $wpdb; … … 322 323 $string = '<a href="'.get_permalink($lastpost->ID).'">'.$previous; 323 324 if ($title == 'yes') { 324 $string .= wptexturize($lastpost->post_title);325 $string .= apply_filters('the_title', $lastpost->post_title, $lastpost); 325 326 } 326 327 $string .= '</a>'; … … 331 332 } 332 333 334 // Deprecated. Use next_post_link(). 333 335 function next_post($format='%', $next='next post: ', $title='yes', $in_same_cat='no', $limitnext=1, $excluded_categories='') { 334 336 global $posts_per_page, $post, $wpdb; … … 360 362 $string = '<a href="'.get_permalink($nextpost->ID).'">'.$next; 361 363 if ($title=='yes') { 362 $string .= wptexturize($nextpost->post_title);364 $string .= apply_filters('the_title', $nextpost->post_title, $nextpost); 363 365 } 364 366 $string .= '</a>';
Note: See TracChangeset
for help on using the changeset viewer.