Changeset 43848
- Timestamp:
- 10/31/2018 06:00:03 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-admin/includes/class-ftp.php
r38470 r43848 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.