Ticket #35565: 35565.diff
File 35565.diff, 503 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/includes/file.php
409 409 'file' => $new_file, 410 410 'url' => $url, 411 411 'type' => $type 412 ), 'wp_handle_sideload' === $action ? 'sideload' : 'upload' ); } 412 ), 'wp_handle_sideload' === $action ? 'sideload' : 'upload' ); 413 } 413 414 414 415 /** 415 416 * Wrapper for _wp_handle_upload(), passes 'wp_handle_upload' action.