[wp-trac] [WordPress Trac] #59761: download_url DocBloc suggests to use unlink() over wp_delete_file()

WordPress Trac noreply at wordpress.org
Sat Oct 28 05:30:51 UTC 2023


#59761: download_url DocBloc suggests to use unlink() over wp_delete_file()
------------------------------------+-----------------------------
 Reporter:  bedas                   |      Owner:  (none)
     Type:  enhancement             |     Status:  new
 Priority:  normal                  |  Milestone:  Awaiting Review
Component:  HTTP API                |    Version:  trunk
 Severity:  normal                  |   Keywords:  has-patch
  Focuses:  docs, coding-standards  |
------------------------------------+-----------------------------
 The DocBloc of
 https://developer.wordpress.org/reference/functions/download_url/ suggests
 to unlink() the file, while according WPCS we should wp_delete_file().

 This trac merely is to update the docbloc

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59761>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list