Changeset 42433
- Timestamp:
- 01/10/2018 06:09:51 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update-core.php
r42343 r42433 1144 1144 continue; 1145 1145 } 1146 $wp_filesystem->delete( $old_file, true ); 1146 1147 // If the file isn't deleted, try writing an empty string to the file instead. 1148 if ( ! $wp_filesystem->delete( $old_file, true ) && $wp_filesystem->is_file( $old_file ) ) { 1149 $wp_filesystem->put_contents( $old_file, '' ); 1150 } 1147 1151 } 1148 1152
Note: See TracChangeset
for help on using the changeset viewer.