Ticket #12493: 12493.patch
File 12493.patch, 460 bytes (added by , 15 years ago) |
---|
-
wp-includes/functions.php
2282 2282 if ( ! $ifp ) 2283 2283 return array( 'error' => sprintf( __( 'Could not write file %s' ), $new_file ) ); 2284 2284 2285 $bits = apply_filters( 'wp_upload_bits_data', $bits ); 2286 2285 2287 @fwrite( $ifp, $bits ); 2286 2288 fclose( $ifp ); 2287 2289 // Set correct file permissions