[wp-trac] [WordPress Trac] #44014: Use wp_delete_file() instead of unlink() when generating a privacy data export file

WordPress Trac noreply at wordpress.org
Wed May 9 15:16:35 UTC 2018


#44014: Use wp_delete_file() instead of unlink() when generating a privacy data
export file
-------------------------+-----------------------
 Reporter:  desrosj      |       Owner:  iandunn
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  4.9.7
Component:  General      |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------
Changes (by iandunn):

 * keywords:  has-patch => needs-patch
 * owner:  (none) => iandunn
 * version:   => trunk
 * status:  new => accepted
 * type:  defect (bug) => enhancement


Comment:

 Thanks for creating this to help keep track :)

 IIRC, there are a few other instances of `unlink()` in the 4.9.6 commits.
 @macbookandrew found another in
 https://core.trac.wordpress.org/attachment/ticket/43546/43546.patch. I
 think it'd be good to find them all and update them all at once.

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


More information about the wp-trac mailing list