[wp-trac] [WordPress Trac] #30963: Wrong error message when uploading non-zip files on the plugin upload page

WordPress Trac noreply at wordpress.org
Fri Jan 9 09:54:55 UTC 2015


#30963: Wrong error message when uploading non-zip files on the plugin upload page
----------------------------+-----------------------------
 Reporter:  jnhghy          |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  4.1
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 If you go to plugins -> upload plugin and you try to insall a .php file
 instead of a zip file you get this error message: Abort class-pclzip.php :
 Missing zlib extensions.
 This error message is bad, zlib extensions are not missing, the file type
 is wrong.

 Also this message is missing translation support (I might be wrong on
 this).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30963>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list