From 08ab1b910a45948e8d8c23b8228510532ca3cda2 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sat, 2 Jul 2005 23:37:08 +0000 Subject: [PATCH] Output not echo, fixes #1465 git-svn-id: https://develop.svn.wordpress.org/trunk@2686 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/template-functions-post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/template-functions-post.php b/wp-includes/template-functions-post.php index ea1980415f..88cc3ac4f2 100644 --- a/wp-includes/template-functions-post.php +++ b/wp-includes/template-functions-post.php @@ -392,7 +392,7 @@ function _page_level_out($parent, $page_tree, $args, $depth = 0, $echo = true) { $format = $args['date_format']; $output .= " " . mysql2date($format, $cur_page['ts']); } - echo "\n"; + $output .= "\n"; if(isset($cur_page['children']) && is_array($cur_page['children'])) { $new_depth = $depth + 1;