Output not echo, fixes #1465
git-svn-id: https://develop.svn.wordpress.org/trunk@2686 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8addfabdd7
commit
08ab1b910a
|
@ -392,7 +392,7 @@ function _page_level_out($parent, $page_tree, $args, $depth = 0, $echo = true) {
|
||||||
$format = $args['date_format'];
|
$format = $args['date_format'];
|
||||||
$output .= " " . mysql2date($format, $cur_page['ts']);
|
$output .= " " . mysql2date($format, $cur_page['ts']);
|
||||||
}
|
}
|
||||||
echo "\n";
|
$output .= "\n";
|
||||||
|
|
||||||
if(isset($cur_page['children']) && is_array($cur_page['children'])) {
|
if(isset($cur_page['children']) && is_array($cur_page['children'])) {
|
||||||
$new_depth = $depth + 1;
|
$new_depth = $depth + 1;
|
||||||
|
|
Loading…
Reference in New Issue