[wp-trac] [WordPress Trac] #49725: Bug in plugin upload (was: found a bug in wordpress version 5.3.2)
WordPress Trac
noreply at wordpress.org
Sun Mar 29 08:21:36 UTC 2020
#49725: Bug in plugin upload
--------------------------+------------------------------
Reporter: offensive | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upload | Version:
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses: administration
--------------------------+------------------------------
Changes (by mukesh27):
* keywords: => dev-feedback
* version: 5.3.2 =>
* severity: critical => normal
Comment:
Hi @offensive,
Welcome to WordPress Trac! Thanks for the ticket.
When I try to upload PHP file in plugin upload it shows me below error and
uploaded file is move-in upload directory.
''**Installing Plugin from uploaded file: code.php
Unpacking the packageā¦**''
''**The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) :
Unable to find End of Central Dir Record signature**''
Before moving the file in the upload folder system need to check it
uploaded file has valid format than and then move the file in the upload
directory
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49725#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list