Changeset 38898
- Timestamp:
- 10/25/2016 02:23:18 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update-core.php
r38379 r38898 908 908 if ( ! file_exists( $working_dir_local . $file ) ) 909 909 continue; 910 if ( '.' === dirname( $file ) && in_array( pathinfo( $file, PATHINFO_EXTENSION ), array( 'html', 'txt' ) ) ) 911 continue; 910 912 if ( md5_file( ABSPATH . $file ) === $checksum ) 911 913 $skip[] = $file; … … 969 971 if ( ! file_exists( $working_dir_local . $file ) ) 970 972 continue; 973 if ( '.' === dirname( $file ) && in_array( pathinfo( $file, PATHINFO_EXTENSION ), array( 'html', 'txt' ) ) ) { 974 $skip[] = $file; 975 continue; 976 } 971 977 if ( file_exists( ABSPATH . $file ) && md5_file( ABSPATH . $file ) == $checksum ) 972 978 $skip[] = $file;
Note: See TracChangeset
for help on using the changeset viewer.