Ticket #17846: 17846.patch
| File 17846.patch, 643 bytes (added by kurtpayne, 18 months ago) |
|---|
-
wp-admin/includes/class-wp-filesystem-ftpext.php
328 328 $b['time'] = strtotime( sprintf('%d %s %d %02d:%02d', $b['day'], $b['month'], $b['year'], $b['hour'], $b['minute']) ); 329 329 $b['name'] = $lucifer[8]; 330 330 } 331 332 // Replace symlinks formatted as "source -> target" with just the source name 333 $b['islink'] && $b['name'] = preg_replace( '/(\s*->\s*.*)$/', '', $b['name'] ); 331 334 } 332 335 333 336 return $b;
