Index: src/wp-includes/class-wp-image-editor.php
===================================================================
--- src/wp-includes/class-wp-image-editor.php	(revision 46179)
+++ src/wp-includes/class-wp-image-editor.php	(working copy)
@@ -360,7 +360,6 @@
 		$new_ext = strtolower( $extension ? $extension : $ext );
 
 		if ( ! is_null( $dest_path ) ) {
-			$_dest_path = realpath( $dest_path );
 			if ( $_dest_path ) {
 				$dir = $_dest_path;
 			}
