Changeset 44184 for trunk/src/wp-admin/includes/class-ftp.php
- Timestamp:
- 12/14/2018 12:25:16 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43848
- Property svn:mergeinfo changed
-
trunk/src/wp-admin/includes/class-ftp.php
r38470 r44184 525 525 } 526 526 527 function fget($fp, $remotefile, $rest=0) {527 function fget($fp, $remotefile, $rest=0) { 528 528 if($this->_can_restore and $rest!=0) fseek($fp, $rest); 529 529 $pi=pathinfo($remotefile); … … 584 584 } 585 585 586 function fput($remotefile, $fp ) {586 function fput($remotefile, $fp, $rest=0) { 587 587 if($this->_can_restore and $rest!=0) fseek($fp, $rest); 588 588 $pi=pathinfo($remotefile); … … 776 776 } else $path=getcwd(); 777 777 if(is_array($handle) and !empty($handle)) { 778 while($dir=each($handle)) {778 foreach($handle as $dir) { 779 779 if($this->glob_pattern_match($pattern,$dir)) 780 780 $output[]=$dir;
Note: See TracChangeset
for help on using the changeset viewer.