Changeset 51625
- Timestamp:
- 08/16/2021 10:51:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r51599 r51625 5710 5710 */ 5711 5711 function validate_file( $file, $allowed_files = array() ) { 5712 if ( ! is_scalar( $file ) || '' === $file ) { 5713 return 0; 5714 } 5715 5712 5716 // `../` on its own is not allowed: 5713 5717 if ( '../' === $file ) {
Note: See TracChangeset
for help on using the changeset viewer.