[wp-trac] [WordPress Trac] #57775: wp_create_file_in_uploads Called as Action Hook
WordPress Trac
noreply at wordpress.org
Wed Oct 4 16:51:34 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 2nd-opinion needs-testing | Focuses:
needs-testing-info |
-------------------------------------------------+-------------------------
Changes (by nicolefurlan):
* keywords: has-patch 2nd-opinion => has-patch 2nd-opinion needs-testing
needs-testing-info
Comment:
I just added a PR that changes both instances of
`wp_create_file_in_uploads` from action hooks to filter hooks.
I also created a docs issue (https://github.com/WordPress/Documentation-
Issue-Tracker/issues/1139) so that
https://developer.wordpress.org/reference/hooks/wp_create_file_in_uploads/
can get updated to match this change. Please do let me know if that was
the incorrect thing to do. I'd love to know how we can coordinate with the
docs team on timing to make sure the code and documentation changes happen
at the same time.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57775#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list