[wp-trac] [WordPress Trac] #36710: Symlinked directories should not be deleted recursively
WordPress Trac
noreply at wordpress.org
Mon Mar 2 19:39:18 UTC 2020
#36710: Symlinked directories should not be deleted recursively
------------------------------------+-----------------------------
Reporter: andy | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Filesystem API | Version:
Severity: major | Resolution:
Keywords: has-patch dev-feedback | Focuses: administration
------------------------------------+-----------------------------
Comment (by bookdude13):
Patch 36710.4 had a typo, `strotupper()` instead of `strtoupper()`. Fixed
in 36710.5.
Testing locally on Windows this works. When a symlinked plugin is updated
the symlink is removed and the updated package is stored in plugins/. Note
that this will break the symlink for the site maintainer. If they don't
want the link broken they can update their own location, or copy the files
over afterwards.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36710#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list