Changeset 58487 for branches/5.5/src/wp-includes/functions.php
- Timestamp:
- 06/24/2024 03:33:42 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5/src/wp-includes/functions.php
r54556 r58487 5355 5355 */ 5356 5356 function validate_file( $file, $allowed_files = array() ) { 5357 // Normalize path for Windows servers 5358 $file = wp_normalize_path( $file ); 5359 5357 5360 // `../` on its own is not allowed: 5358 5361 if ( '../' === $file ) {
Note: See TracChangeset
for help on using the changeset viewer.