Changeset 45353
- Timestamp:
- 05/17/2019 01:30:15 PM (5 years ago)
- Location:
- branches/5.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2
-
branches/5.2/src/wp-includes/functions.php
r45249 r45353 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.