Changeset 58490 for branches/5.2/src/wp-includes/functions.php
- Timestamp:
- 06/24/2024 03:39:11 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2/src/wp-includes/functions.php
r54563 r58490 4897 4897 */ 4898 4898 function validate_file( $file, $allowed_files = array() ) { 4899 // Normalize path for Windows servers 4900 $file = wp_normalize_path( $file ); 4901 4899 4902 // `../` on its own is not allowed: 4900 4903 if ( '../' === $file ) {
Note: See TracChangeset
for help on using the changeset viewer.