From 8ac738081efd45a4b17b8f64364698d39a5c0adb Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Mon, 4 Dec 2006 14:42:34 +0000 Subject: [PATCH] trailingslashit() fix for paged posts links from activeingredient. fixes #3163 git-svn-id: https://develop.svn.wordpress.org/trunk@4603 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post-template.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 628848609b..a4a9c6f415 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -158,7 +158,7 @@ function wp_link_pages($args = '') { if ( '' == get_option('permalink_structure') ) $output .= ''; else - $output .= ''; + $output .= ''; } $output .= $j; if ( ($i != $page) || ((!$more) && ($page==1)) ) @@ -171,16 +171,16 @@ function wp_link_pages($args = '') { $i = $page - 1; if ( $i && $more ) { if ( '' == get_option('permalink_structure') ) - $output .= ''.$previouspagelink.''; + $output .= '' . $previouspagelink . ''; else $output .= ''.$previouspagelink.''; } $i = $page + 1; if ( $i <= $numpages && $more ) { if ( '' == get_option('permalink_structure') ) - $output .= ''.$nextpagelink.''; + $output .= ''.$nextpagelink.''; else - $output .= ''.$nextpagelink.''; + $output .= '' . $nextpagelink . ''; } $output .= $after; }