Make WordPress Core


Ignore:
Timestamp:
02/07/2010 01:12:29 AM (14 years ago)
Author:
dd32
Message:

Fix recursive chmod for WP_Filesystem. Props reaperhulk for FtpExt. Fixes #11261

File:
1 edited

Legend:

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

    r12741 r12997  
    136136        $file = trailingslashit($file);
    137137        $filelist = $this->dirlist($file);
    138         foreach ($filelist as $filename)
     138        foreach ( (array)$filelist as $filename => $filemeta)
    139139            $this->chmod($file . $filename, $mode, $recursive);
    140140
Note: See TracChangeset for help on using the changeset viewer.