Changeset 50149
- Timestamp:
- 02/02/2021 05:21:45 PM (4 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r50032 r50149 1777 1777 $dirlist = $wp_filesystem->dirlist( $from ); 1778 1778 1779 if ( false === $dirlist ) { 1780 return new WP_Error( 'dirlist_failed_copy_dir', __( 'Directory listing failed.' ), basename( $to ) ); 1781 } 1782 1779 1783 $from = trailingslashit( $from ); 1780 1784 $to = trailingslashit( $to ); -
trunk/src/wp-admin/includes/update-core.php
r49774 r50149 1353 1353 $dirlist = $wp_filesystem->dirlist( $from ); 1354 1354 1355 if ( false === $dirlist ) { 1356 return new WP_Error( 'dirlist_failed__copy_dir', __( 'Directory listing failed.' ), basename( $to ) ); 1357 } 1358 1355 1359 $from = trailingslashit( $from ); 1356 1360 $to = trailingslashit( $to );
Note: See TracChangeset
for help on using the changeset viewer.