Make WordPress Core

Changeset 7128


Ignore:
Timestamp:
03/01/2008 11:29:19 PM (17 years ago)
Author:
ryan
Message:

Fix file types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-filesystem-direct.php

    r6920 r7128  
    307307            $struc['lastmod']   = date('M j',$struc['lastmodunix']);
    308308            $struc['time']      = date('h:i:s',$struc['lastmodunix']);
    309             $struc['type']      = $this->is_dir($path.'/'.$entry) ? 'folder' : 'file';
     309            $struc['type']      = $this->is_dir($path.'/'.$entry) ? 'd' : 'f';
    310310            if('folder' == $struc['type'] ){
    311311                $struc['files'] = array();
Note: See TracChangeset for help on using the changeset viewer.