Changeset 42476
- Timestamp:
- 01/16/2018 06:58:02 AM (6 years ago)
- Location:
- branches/3.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8
- Property svn:mergeinfo changed
/branches/4.9 (added) merged: 42434 /trunk merged: 42433
- Property svn:mergeinfo changed
-
branches/3.8/src/wp-admin/includes/update-core.php
r32410 r42476 921 921 if ( !$wp_filesystem->exists($old_file) ) 922 922 continue; 923 $wp_filesystem->delete($old_file, true); 923 924 // If the file isn't deleted, try writing an empty string to the file instead. 925 if ( ! $wp_filesystem->delete( $old_file, true ) && $wp_filesystem->is_file( $old_file ) ) { 926 $wp_filesystem->put_contents( $old_file, '' ); 927 } 924 928 } 925 929
Note: See TracChangeset
for help on using the changeset viewer.