Ticket #32135: 32135-1.diff
File 32135-1.diff, 420 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/includes/file.php
146 146 $dir = get_temp_dir(); 147 147 } 148 148 149 if ( empty( $filename ) || '.' == $filename ) {149 if ( empty( $filename ) || '.' == $filename || '/' === $filename ) { 150 150 $filename = time(); 151 151 } 152 152