diff --git a/src/wp-admin/includes/class-wp-filesystem-ftpext.php b/src/wp-admin/includes/class-wp-filesystem-ftpext.php index cddbd631a2..5958e7debf 100644 --- a/src/wp-admin/includes/class-wp-filesystem-ftpext.php +++ b/src/wp-admin/includes/class-wp-filesystem-ftpext.php @@ -156,7 +156,7 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base { $contents .= fread( $temphandle, 8 * KB_IN_BYTES ); } - fclose( $temphangle ); + fclose( $temphandle ); unlink( $tempfile ); return $contents;