Ticket #55109: 55109.diff
File 55109.diff, 544 bytes (added by , 3 years ago) |
---|
-
src/wp-admin/includes/file.php
1198 1198 if ( $tmpfname_disposition && is_string( $tmpfname_disposition ) 1199 1199 && ( 0 === validate_file( $tmpfname_disposition ) ) 1200 1200 ) { 1201 $tmpfname_disposition = dirname( $tmpfname ) . '/' . $tmpfname_disposition; 1201 1202 if ( rename( $tmpfname, $tmpfname_disposition ) ) { 1202 1203 $tmpfname = $tmpfname_disposition; 1203 1204 }