diff -r f507feede89a -r 09a1c134465b web/wp-admin/includes/class-wp-filesystem-ftpsockets.php --- a/web/wp-admin/includes/class-wp-filesystem-ftpsockets.php Wed Dec 19 12:35:13 2012 -0800 +++ b/web/wp-admin/includes/class-wp-filesystem-ftpsockets.php Wed Dec 19 17:46:52 2012 -0800 @@ -318,6 +318,10 @@ $struc['files'] = array(); } + // Replace symlinks formatted as "source -> target" with just the source name + if ( $struc['islink'] ) + $struc['name'] = preg_replace( '/(\s*->\s*.*)$/', '', $struc['name'] ); + $ret[ $struc['name'] ] = $struc; } return $ret;