Ticket #16849: 16849.patch
File 16849.patch, 513 bytes (added by , 12 years ago) |
---|
-
wp-admin/includes/file.php
236 236 } 237 237 238 238 $file = apply_filters( 'wp_handle_upload_prefilter', $file ); 239 $overrides = apply_filters( 'wp_handle_upload_overrides', $overrides ); 239 240 240 241 // You may define your own function and pass the name in $overrides['upload_error_handler'] 241 242 $upload_error_handler = 'wp_handle_upload_error';