[wp-trac] [WordPress Trac] #47185: Media files cannot be deleted under Windows since 5.2
WordPress Trac
noreply at wordpress.org
Fri May 17 13:28:23 UTC 2019
#47185: Media files cannot be deleted under Windows since 5.2
------------------------------+-----------------------------
Reporter: tonybogdanov | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.2.1
Component: Filesystem API | Version: 5.2
Severity: critical | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"45352" 45352]:
{{{
#!CommitTicketReference repository="" revision="45352"
Media: Fix deletion of files on Windows.
`wp_delete_file_from_directory()` should always normalize file paths
before comparing.
Props tonybogdanov, SergeyBiryukov.
Fixes #47185.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47185#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list