[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:30:24 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:
------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"45353" 45353]:
{{{
#!CommitTicketReference repository="" revision="45353"
Media: Fix deletion of files on Windows.
`wp_delete_file_from_directory()` should always normalize file paths
before comparing.
Props tonybogdanov, SergeyBiryukov.
Merges [45352] to the 5.2 branch.
Fixes #47185.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47185#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list