Changeset 55226
- Timestamp:
- 02/06/2023 04:19:37 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r55223 r55226 1980 1980 } elseif ( ! $wp_filesystem->delete( $to, true ) ) { 1981 1981 // Can't overwrite if the destination couldn't be deleted. 1982 return WP_Error( 'destination_not_deleted_move_dir', __( 'The destination directory already exists and could not be removed.' ) );1982 return new WP_Error( 'destination_not_deleted_move_dir', __( 'The destination directory already exists and could not be removed.' ) ); 1983 1983 } 1984 1984 }
Note: See TracChangeset
for help on using the changeset viewer.