[wp-trac] [WordPress Trac] #43990: Use wp_delete_file instead of unlink

WordPress Trac noreply at wordpress.org
Wed May 9 19:07:47 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 desrosj):

 @macbookandrew just for clarity, can you quickly detail why using
 `wp_delete_file()` is preferred?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43990#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list