[wp-trac] [WordPress Trac] #39476: wp_delete_file filter expects both absolute and relative paths
WordPress Trac
noreply at wordpress.org
Thu Mar 14 22:29:34 UTC 2019
#39476: wp_delete_file filter expects both absolute and relative paths
-----------------------------+---------------------------
Reporter: rmccue | Owner: mikeschroder
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9.7
Component: Media | Version: 4.2
Severity: normal | Resolution: fixed
Keywords: has-patch early | Focuses:
-----------------------------+---------------------------
Changes (by SergeyBiryukov):
* status: assigned => closed
* resolution: => fixed
* milestone: Future Release => 4.9.7
Comment:
It looks like this was fixed in 4.9.7 by [43392].
`wp_delete_attachment()` no longer applies the `wp_delete_file` filter,
only `wp_delete_file()` does.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39476#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list