[wp-trac] [WordPress Trac] #16849: Add a filter for $overrides in wp_handle_upload()
WordPress Trac
noreply at wordpress.org
Sun Dec 20 16:13:38 UTC 2020
#16849: Add a filter for $overrides in wp_handle_upload()
-------------------------+--------------------------
Reporter: iandunn | Owner: johnbillion
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.7
Component: Upload | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------+--------------------------
Changes (by johnbillion):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"49845" 49845]:
{{{
#!CommitTicketReference repository="" revision="49845"
Upload: Introduce the `{$action}_overrides` filter that allows the
overrides parameter for file uploads and file sideloads to be filtered.
The dynamic portion of the hook name, `$action`, refers to the post
action.
Props iandunn, jakub.tyrcha, nacin, wonderboymusic, Mte90, johnbillion
Fixes #16849
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16849#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list