temphangle variable missing when using wp_filesystem copy

I get the following error when using $wp_filesystem-copy(); to copy a file from one destination to another.

Undefined variable: temphangle in b../htdocs/wp-admin/includes/class-wp-filesystem-ftpext.php/b on line b159/b

Any idea what temphangle is?

Topic filesystem-api wp-filesystem filesystem Wordpress

Category Web


It appears to be a typo corrected by SergeyBiryukov in the Github Repo for 5.6 :

https://github.com/WordPress/WordPress/commit/a5edb2a8a15697440dff359fac53c27dd2067db3

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.