[wp-trac] [WordPress Trac] #15134: WordPress should not try to remove theme's or plugin's directory recursively if the directory is a symlink

WordPress Trac noreply at wordpress.org
Tue Aug 9 14:29:35 UTC 2016


#15134: WordPress should not try to remove theme's or plugin's directory
recursively if the directory is a symlink
---------------------------------+-----------------------
 Reporter:  vladimir_kolesnikov  |       Owner:  dd32
     Type:  defect (bug)         |      Status:  reopened
 Priority:  normal               |   Milestone:
Component:  Upgrade/Install      |     Version:
 Severity:  normal               |  Resolution:
 Keywords:  has-patch            |     Focuses:
---------------------------------+-----------------------
Changes (by Dreamsorcerer):

 * status:  closed => reopened
 * resolution:  maybelater =>


Comment:

 Apparently, WordPress now supports symlinked plugins, but this still
 appears to be an issue.
 https://make.wordpress.org/core/2014/04/14/symlinked-plugins-in-
 wordpress-3-9/

 What currently happens, is when updating, it says 'Warning: Could not
 remove the old plugin.' and fails to update. At this point, it has already
 deleted the contents of the old plugin, so you are left with an empty
 directory, and still no new plugin. Either upgrades should work through
 the symlink and upgrade it, or as previously suggested, it should delete
 the symlink without touching the contents and then install the new
 version.

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


More information about the wp-trac mailing list