Changeset 55938 for trunk/src/wp-admin/includes/file.php
- Timestamp:
- 06/19/2023 01:58:25 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r55872 r55938 1911 1911 $to = trailingslashit( $to ); 1912 1912 1913 if ( ! $wp_filesystem->exists( $to ) && ! $wp_filesystem->mkdir( $to ) ) { 1914 return new WP_Error( 1915 'mkdir_destination_failed_copy_dir', 1916 __( 'Could not create the destination directory.' ), 1917 basename( $to ) 1918 ); 1919 } 1920 1913 1921 foreach ( (array) $dirlist as $filename => $fileinfo ) { 1914 1922 if ( in_array( $filename, $skip_list, true ) ) {
Note: See TracChangeset
for help on using the changeset viewer.