Make WordPress Core


Ignore:
Timestamp:
04/23/2008 01:14:26 AM (18 years ago)
Author:
ryan
Message:

Typo fixes from DD32. fixes #6818 for trunk

File:
1 edited

Legend:

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

    r7641 r7785  
    4848                        return @chgrp($file,$group);
    4949                //Is a directory, and we want recursive
    50                 $file = trailingshashit($file);
     50                $file = trailingslashit($file);
    5151                $filelist = $this->dirlist($file);
    5252                foreach($filelist as $filename)
     
    6565                        return @chmod($file,$mode);
    6666                //Is a directory, and we want recursive
    67                 $file = trailingshashit($file);
     67                $file = trailingslashit($file);
    6868                $filelist = $this->dirlist($file);
    6969                foreach($filelist as $filename)
     
    178178
    179179        function copy($source,$destination,$overwrite=false){
    180                 if( $overwrite && $this->exists($destination) )
     180                if( ! $overwrite && $this->exists($destination) )
    181181                        return false;
    182182                return copy($source,$destination);
Note: See TracChangeset for help on using the changeset viewer.