[wp-trac] [WordPress Trac] #10775: Plugin/Theme installer: Do not bail if empty destination directory exists
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 13 03:03:08 UTC 2009
#10775: Plugin/Theme installer: Do not bail if empty destination directory exists
-----------------------------+----------------------------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Upgrade/Install | Version: 2.9
Severity: normal | Keywords: has-patch
-----------------------------+----------------------------------------------
At present, If you attempt to install a plugin or theme, and the
destination directory already exists (Say from a failed upgrade), Then the
installer will bail.
Patch adds a check to simply use the folder if it exists AND is empty.
However, It still counts hidden files as being a item in a directory, so
if a {{{.svn}}} folder or {{{.htaccess}}} file exists in the folder, the
installer will bail. - Any thoughts on that? Should it continue if there
are only hidden files? I'm thinking not at present.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10775>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list