Changeset 45352
- Timestamp:
- 05/17/2019 01:28:15 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r45249 r45352 6283 6283 function wp_delete_file_from_directory( $file, $directory ) { 6284 6284 if ( wp_is_stream( $file ) ) { 6285 $real_file = wp_normalize_path( $file );6286 $real_directory = wp_normalize_path( $directory );6285 $real_file = $file; 6286 $real_directory = $directory; 6287 6287 } else { 6288 6288 $real_file = realpath( wp_normalize_path( $file ) ); 6289 6289 $real_directory = realpath( wp_normalize_path( $directory ) ); 6290 } 6291 6292 if ( false !== $real_file ) { 6293 $real_file = wp_normalize_path( $real_file ); 6294 } 6295 6296 if ( false !== $real_directory ) { 6297 $real_directory = wp_normalize_path( $real_directory ); 6290 6298 } 6291 6299
Note: See TracChangeset
for help on using the changeset viewer.