Index: wp-includes/general-template.php
===================================================================
--- wp-includes/general-template.php	(revision 17488)
+++ wp-includes/general-template.php	(working copy)
@@ -639,10 +639,13 @@
 		return;
 
 	$title = apply_filters('single_post_title', $_post->post_title, $_post);
+	
+	$result = $prefix . $title;
+
 	if ( $display )
-		echo $prefix . $title;
+		echo $result;
 	else
-		return $title;
+		return $result;
 }
 
 /**
@@ -664,10 +667,12 @@
 	$post_type_obj = get_queried_object();
 	$title = apply_filters('post_type_archive_title', $post_type_obj->labels->name );
 
+	$result = $prefix . $title;
+
 	if ( $display )
-		echo $prefix . $title;
+		echo $result;
 	else
-		return $title;
+		return $result;
 }
 
 /**
@@ -747,10 +752,12 @@
 	if ( empty( $term_name ) )
 		return;
 
+	$result = $prefix . $term_name;
+
 	if ( $display )
-		echo $prefix . $term_name;
+		echo $result;
 	else
-		return $term_name;
+		return $result;
 }
 
 /**
