WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#7729 closed enhancement (invalid)

wp_handle_upload to override is_uploaded_file

Reported by: freediver Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

wp_handle_upload currently does not support override for is_uploaded_file test.

This can be useful to handle dynamically generated uploads like for example when instead of hotlinking to a picture you want to download the picture given by the URL and handle it properly.

It would be nice to have everything under one roof, the function that can handle all user generated uploads.

Change History (1)

comment:1 jacobsantos6 years ago

  • Milestone 2.7 deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Summary changed from wp_handle_upload to overried is_uploaded_file to wp_handle_upload to override is_uploaded_file

Use download_url() function instead.

Note: See TracTickets for help on using tickets.