Changeset 21223
- Timestamp:
- 07/06/2012 11:39:39 AM (12 years ago)
- Location:
- trunk/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-filesystem-ftpext.php
r19712 r21223 331 331 } 332 332 333 // Replace symlinks formatted as "source -> target" with just the source name 334 if ( $b['islink'] ) 335 $b['name'] = preg_replace( '/(\s*->\s*.*)$/', '', $b['name'] ); 336 333 337 return $b; 334 338 } -
trunk/wp-admin/includes/class-wp-filesystem-ftpsockets.php
r19712 r21223 319 319 } 320 320 321 // Replace symlinks formatted as "source -> target" with just the source name 322 if ( $struc['islink'] ) 323 $struc['name'] = preg_replace( '/(\s*->\s*.*)$/', '', $struc['name'] ); 324 321 325 $ret[ $struc['name'] ] = $struc; 322 326 }
Note: See TracChangeset
for help on using the changeset viewer.