Output not echo, fixes #1465
git-svn-id: http://svn.automattic.com/wordpress/trunk@2686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f048ab7b0a
commit
e065df406a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue