[wp-trac] [WordPress Trac] #44563: WordPress 4.9.7 Media delete changes break plugins deleting media via stream wrappers

WordPress Trac noreply at wordpress.org
Fri Apr 12 20:00:49 UTC 2019


#44563: WordPress 4.9.7 Media delete changes break plugins deleting media via
stream wrappers
-------------------------------------------------+-------------------------
 Reporter:  antonypuckey                         |       Owner:  joemcgill
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Media                                |     Version:  4.9.7
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by joemcgill):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45177" 45177]:
 {{{
 #!CommitTicketReference repository="" revision="45177"
 Media: Fix deletion of files when using stream wrappers.

 This fixes a bug introduced in [43392] which breaks file deletion on
 systems using stream wrappers, due to limitations of `realpath()`.

 Props antonypuckey, pfiled.
 Fixes #44563.
 }}}

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


More information about the wp-trac mailing list