Ticket #33999: 33999.patch
File 33999.patch, 450 bytes (added by , 8 years ago) |
---|
-
src/wp-admin/includes/file.php
168 168 $dir = get_temp_dir(); 169 169 } 170 170 171 if ( empty( $filename ) || '.' == $filename || '/' == $filename ) {171 if ( empty( $filename ) || '.' == $filename || '/' == $filename || '\\' == $filename ) { 172 172 $filename = time(); 173 173 } 174 174