Changeset 42474 for branches/4.0
- Timestamp:
- 01/16/2018 06:56:50 AM (7 years ago)
- Location:
- branches/4.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0
- Property svn:mergeinfo changed
/branches/4.9 (added) merged: 42434 /trunk merged: 42433
- Property svn:mergeinfo changed
-
branches/4.0/src/wp-admin/includes/update-core.php
r32404 r42474 1009 1009 if ( !$wp_filesystem->exists($old_file) ) 1010 1010 continue; 1011 $wp_filesystem->delete($old_file, true); 1011 1012 // If the file isn't deleted, try writing an empty string to the file instead. 1013 if ( ! $wp_filesystem->delete( $old_file, true ) && $wp_filesystem->is_file( $old_file ) ) { 1014 $wp_filesystem->put_contents( $old_file, '' ); 1015 } 1012 1016 } 1013 1017
Note: See TracChangeset
for help on using the changeset viewer.