[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
Tue Oct 9 17:19:39 UTC 2018


#44563: WordPress 4.9.7 Media delete changes break plugins deleting media via
stream wrappers
-------------------------------------+---------------------
 Reporter:  antonypuckey             |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.0.1
Component:  Media                    |     Version:  4.9.7
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------

Comment (by shadyshane):

 I encountered the same problem. The reason why S3-Uploads did not work
 with @antonypuckey 's patch is the WordPress is no longer pass the
 absolute path to `wp_delete_file` filter.

 S3-Uploads compatible fix for this patch is here
 https://github.com/nhanledev/S3-Uploads/commit/e19b75629d91113f41cf9ed2fed85ab8b8fb0dd3

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


More information about the wp-trac mailing list