Changeset 52242 for trunk/src/wp-admin/includes/file.php
- Timestamp:
- 11/24/2021 11:58:20 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r52032 r52242 1195 1195 } 1196 1196 1197 // Potential file name must be valid string 1198 if ( $tmpfname_disposition && is_string( $tmpfname_disposition ) && ( 0 === validate_file( $tmpfname_disposition ) ) ) { 1197 // Potential file name must be valid string. 1198 if ( $tmpfname_disposition && is_string( $tmpfname_disposition ) 1199 && ( 0 === validate_file( $tmpfname_disposition ) ) 1200 ) { 1199 1201 if ( rename( $tmpfname, $tmpfname_disposition ) ) { 1200 1202 $tmpfname = $tmpfname_disposition;
Note: See TracChangeset
for help on using the changeset viewer.