WordPress.org

Make WordPress Core

Ticket #3831: upload-functions.php.diff

File upload-functions.php.diff, 494 bytes (added by pixline, 11 years ago)
  • wp-admin/upload-functions.php

     
    207207 
    208208               $overrides = array('action'=>'upload'); 
    209209 
     210               $overrides = apply_filters( 'upload_overrides', $overrides ); 
     211 
    210212               $file = wp_handle_upload($_FILES['image'], $overrides); 
    211213 
    212214               if ( isset($file['error']) )