[wp-trac] Re: [WordPress Trac] #9757: Allow Plugin/Theme updates
from a uploaded .zip file.
WordPress Trac
wp-trac at lists.automattic.com
Thu May 14 08:38:49 GMT 2009
#9757: Allow Plugin/Theme updates from a uploaded .zip file.
----------------------------+-----------------------------------------------
Reporter: hakre | Type: enhancement
Status: new | Priority: low
Milestone: Future Release | Component: Upgrade/Install
Version: 2.8 | Severity: normal
Keywords: needs-patch |
----------------------------+-----------------------------------------------
Comment(by Denis-de-Bernardy):
how about this: we check if the folder exists. If so, we validate that the
new plugin files return similar data as the old one (i.e. same plugin
name, higher version being uploaded, not necessarily same author since it
may have been maintained by someone new). If true, it's pretty safe to set
the clear_destination to true.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9757#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list