Opened 3 years ago
Closed 3 years ago
#12740 closed defect (bug) (fixed)
wp_handle_sideload should have unique filter name
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | General | Version: | 3.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
the wp_handle_sideload() functionhas the same filter, wp_handle_upload as the wp_handle_upload() function. This patch fixes that.
Attachments (3)
Change History (5)
technosailor — 3 years ago
technosailor — 3 years ago
Fair enough. 12740-2.diff adds context to existing hooks. Eats our own dogfood.
technosailor — 3 years ago
Note: See
TracTickets for help on using
tickets.

wp_handle_upload is in xmlrpc as well. We should either add new per-function hooks (and not remove the current ones), or pass the function as a new argument to allow determination of context.