[wp-trac] [WordPress Trac] #57775: wp_create_file_in_uploads Called as Action Hook
WordPress Trac
noreply at wordpress.org
Thu Sep 21 10:31:26 UTC 2023
#57775: wp_create_file_in_uploads Called as Action Hook
-------------------------------------------------+-------------------------
Reporter: Howdy_McGee | Owner:
| johnbillion
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 6.4
Component: General | Version: 2.5
Severity: trivial | Resolution:
Keywords: has-patch needs-refresh 2nd-opinion | Focuses:
-------------------------------------------------+-------------------------
Comment (by mhshujon):
If we change the existing action hook to a filter hook as like this
https://core.trac.wordpress.org/attachment/ticket/57775/57775.diff , then
what's the point of using filter hooks if we don't use the modified
`$file` variable?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57775#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list