[wp-trac] [WordPress Trac] #42986: Insert default filters to wp_delete_file to don't delete core files.
WordPress Trac
noreply at wordpress.org
Wed Dec 27 11:57:53 UTC 2017
#42986: Insert default filters to wp_delete_file to don't delete core files.
-------------------------+-----------------------------
Reporter: lenon | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.9.1
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
I am see many plugins that don't use wordpress method to delete files (
are using unink ) and exist wp_delete_file. Really you can insert filter,
but I think that if didn't have filter by default you can use method to
remove anything, including core files.
If all agree and approve this ticket I can implement.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42986>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list