*** link-template.php Fri Feb 13 00:47:57 2009
--- link-template.php.new Wed Feb 18 22:00:47 2009
***************
*** 961,967 ****
$title = apply_filters('the_title', $title, $post);
$date = mysql2date(get_option('date_format'), $post->post_date);
! $string = '';
$link = str_replace('%title', $title, $link);
$link = str_replace('%date', $date, $link);
$link = $string . $link . '';
--- 961,969 ----
$title = apply_filters('the_title', $title, $post);
$date = mysql2date(get_option('date_format'), $post->post_date);
! $rel = $previous ? 'prev' : 'next';
!
! $string = '';
$link = str_replace('%title', $title, $link);
$link = str_replace('%date', $date, $link);
$link = $string . $link . '';
***************
*** 1096,1102 ****
if ( !is_single() && ( empty($paged) || $nextpage <= $max_page) ) {
$attr = apply_filters( 'next_posts_link_attributes', '' );
! return '". preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', $label) .'';
}
}
--- 1098,1104 ----
if ( !is_single() && ( empty($paged) || $nextpage <= $max_page) ) {
$attr = apply_filters( 'next_posts_link_attributes', '' );
! return '". preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', $label) .'';
}
}
***************
*** 1164,1170 ****
if ( !is_single() && $paged > 1 ) {
$attr = apply_filters( 'previous_posts_link_attributes', '' );
! return '". preg_replace( '/&([^#])(?![a-z]{1,8};)/', '&$1', $label ) .'';
}
}
--- 1166,1172 ----
if ( !is_single() && $paged > 1 ) {
$attr = apply_filters( 'previous_posts_link_attributes', '' );
! return '". preg_replace( '/&([^#])(?![a-z]{1,8};)/', '&$1', $label ) .'';
}
}