From d690f0f9e7f7fe8481cebe22dfb9272b77f03689 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 2 Mar 2008 20:10:43 +0000 Subject: [PATCH] Fix file type git-svn-id: https://develop.svn.wordpress.org/trunk@7129 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/class-wp-filesystem-direct.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-filesystem-direct.php b/wp-admin/includes/class-wp-filesystem-direct.php index 9b0ac42ba2..06db21d9c9 100644 --- a/wp-admin/includes/class-wp-filesystem-direct.php +++ b/wp-admin/includes/class-wp-filesystem-direct.php @@ -307,7 +307,7 @@ class WP_Filesystem_Direct{ $struc['lastmod'] = date('M j',$struc['lastmodunix']); $struc['time'] = date('h:i:s',$struc['lastmodunix']); $struc['type'] = $this->is_dir($path.'/'.$entry) ? 'd' : 'f'; - if('folder' == $struc['type'] ){ + if ('d' == $struc['type'] ){ $struc['files'] = array(); if( $incdot ){