Changeset 7403 for trunk/wp-admin/includes/class-wp-filesystem-ftpext.php
- Timestamp:
- 03/19/2008 08:36:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-filesystem-ftpext.php
r7393 r7403 153 153 } 154 154 $temp = tmpfile(); 155 if ( ! $temp ) 156 return false; 155 157 if( ! @ftp_fget($this->link,$temp,$file,$type,$resumepos) ) 156 158 return false; … … 172 174 } 173 175 $temp = tmpfile(); 176 if ( ! $temp ) 177 return false; 174 178 fwrite($temp,$contents); 175 179 fseek($temp, 0); //Skip back to the start of the file being written to
Note: See TracChangeset
for help on using the changeset viewer.