WordPress.org

Make WordPress Core

Changeset 7784


Ignore:
Timestamp:
04/23/08 01:14:15 (6 years ago)
Author:
ryan
Message:

Typo fixes from DD32. fixes #6818 for 2.5

File:
1 edited

Legend:

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

    r7783 r7784  
    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.