[wp-trac] [WordPress Trac] #9757: Allow Plugin/Theme updates from a uploaded .zip file.
WordPress Trac
noreply at wordpress.org
Mon Oct 23 11:26:38 UTC 2017
#9757: Allow Plugin/Theme updates from a uploaded .zip file.
------------------------------------------+-----------------------------
Reporter: hakre | Owner:
Type: feature request | Status: new
Priority: high | Milestone: Future Release
Component: Upgrade/Install | Version: 2.8
Severity: normal | Resolution:
Keywords: dev-feedback has-patch early | Focuses:
------------------------------------------+-----------------------------
Comment (by imath):
@Clorith
Ok then we could use the FileReader API with the external
[https://github.com/Stuk/jszip JSZip] library as i'm suggesting in
[https://core.trac.wordpress.org/attachment/ticket/9757/9757.2.patch
9757.2.patch]. This way the real file structure contained into the zip
package could be checked, no matter the name of the zip file. In the
following test I've renammed `preferred-languages.zip` to `RandomName.zip`
:
[[Image(https://cldup.com/thgYNoxDiR.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/9757#comment:87>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list