[wp-cvs] wordpress/wp-includes template-functions-post.php, 1.40,
1.41
Ryan Boren
rboren at users.sourceforge.net
Sat Jan 15 15:51:34 GMT 2005
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12042/wp-includes
Modified Files:
template-functions-post.php
Log Message:
Use str_repeat instead of array_fill. Bug 695. Patch from gbhugo.
Index: template-functions-post.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-post.php,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** template-functions-post.php 14 Jan 2005 23:06:12 -0000 1.40
--- template-functions-post.php 15 Jan 2005 15:51:31 -0000 1.41
***************
*** 354,358 ****
if($depth)
! $indent = join('', array_fill(0,$depth,"\t"));
foreach($page_tree[$parent]['children'] as $page_id) {
--- 354,359 ----
if($depth)
! $indent = str_repeat("\t", $depth);
! //$indent = join('', array_fill(0,$depth,"\t"));
foreach($page_tree[$parent]['children'] as $page_id) {
More information about the cvs
mailing list