Changeset 42477
- Timestamp:
- 01/16/2018 06:58:38 AM (3 years ago)
- Location:
- branches/3.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
- Property svn:mergeinfo changed
/branches/4.9 (added) merged: 42434 /trunk merged: 42433
- Property svn:mergeinfo changed
-
branches/3.7/src
- Property svn:mergeinfo changed
/branches/4.9/src (added) merged: 42434
- Property svn:mergeinfo changed
-
branches/3.7/src/wp-admin/includes/update-core.php
r32411 r42477 879 879 if ( !$wp_filesystem->exists($old_file) ) 880 880 continue; 881 $wp_filesystem->delete($old_file, true); 881 882 // If the file isn't deleted, try writing an empty string to the file instead. 883 if ( ! $wp_filesystem->delete( $old_file, true ) && $wp_filesystem->is_file( $old_file ) ) { 884 $wp_filesystem->put_contents( $old_file, '' ); 885 } 882 886 } 883 887
Note: See TracChangeset
for help on using the changeset viewer.