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; }