[wp-trac] [WordPress Trac] #43990: Use wp_delete_file instead of unlink
WordPress Trac
noreply at wordpress.org
Wed May 9 19:16:04 UTC 2018
#43990: Use wp_delete_file instead of unlink
-------------------------------------+-----------------------------
Reporter: macbookandrew | Owner: iandunn
Type: enhancement | Status: accepted
Priority: low | Milestone: Future Release
Component: Filesystem API | Version:
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses:
-------------------------------------+-----------------------------
Comment (by macbookandrew):
@desrosj Basically to standardize on one method for removing files, and
also giving the option to use the `wp_delete_file` filter for every file
deletion action.
That and @iandunn’s comment here:
https://core.trac.wordpress.org/ticket/43546#comment:57
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43990#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list