Ticket #7726: link-template_9-11.patch
File link-template_9-11.patch, 611 bytes (added by , 16 years ago) |
---|
-
link-template.php
646 646 $title = $previous ? __('Previous Post') : __('Next Post'); 647 647 648 648 $title = apply_filters('the_title', $title, $post); 649 $date = mysql2date(get_option('date_format'), $post->post_date); 650 649 651 $string = '<a href="'.get_permalink($post).'">'; 650 652 $link = str_replace('%title', $title, $link); 653 $link = str_replace('%date', $date, $link); 651 654 $link = $string . $link . '</a>'; 652 655 653 656 $format = str_replace('%link', $link, $format);