Make WordPress Core

Ticket #12493: 12493.patch

File 12493.patch, 460 bytes (added by Viper007Bond, 15 years ago)
  • wp-includes/functions.php

     
    22822282        if ( ! $ifp )
    22832283                return array( 'error' => sprintf( __( 'Could not write file %s' ), $new_file ) );
    22842284
     2285        $bits = apply_filters( 'wp_upload_bits_data', $bits );
     2286
    22852287        @fwrite( $ifp, $bits );
    22862288        fclose( $ifp );
    22872289        // Set correct file permissions