Changeset 42472
- Timestamp:
- 01/16/2018 06:55:48 AM (7 years ago)
- Location:
- branches/4.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2
- Property svn:mergeinfo changed
/branches/4.9 (added) merged: 42434 /trunk merged: 42433
- Property svn:mergeinfo changed
-
branches/4.2/src/wp-admin/includes/update-core.php
r33481 r42472 1048 1048 if ( !$wp_filesystem->exists($old_file) ) 1049 1049 continue; 1050 $wp_filesystem->delete($old_file, true); 1050 1051 // If the file isn't deleted, try writing an empty string to the file instead. 1052 if ( ! $wp_filesystem->delete( $old_file, true ) && $wp_filesystem->is_file( $old_file ) ) { 1053 $wp_filesystem->put_contents( $old_file, '' ); 1054 } 1051 1055 } 1052 1056
Note: See TracChangeset
for help on using the changeset viewer.