diff --git a/b2-include/b2template.functions.php b/b2-include/b2template.functions.php index 234e322520..88b975fd42 100644 --- a/b2-include/b2template.functions.php +++ b/b2-include/b2template.functions.php @@ -536,7 +536,7 @@ function previous_post($format='%', $previous='previous post: ', $title='yes', $ $p_id = $p_info->ID; $string = ''.$previous; if (!($title!='yes')) { - $string .= stripslashes($p_title); + $string .= wptexturize(stripslashes($p_title)); } $string .= ''; $format = str_replace('%',$string,$format); @@ -581,7 +581,7 @@ function next_post($format='%', $next='next post: ', $title='yes', $in_same_cat= $p_id = $p_info->ID; $string = ''.$next; if ($title=='yes') { - $string .= stripslashes($p_title); + $string .= wptexturize(stripslashes($p_title)); } $string .= ''; $format = str_replace('%',$string,$format);