[wp-trac] [WordPress Trac] #60400: CHECKCONS Issue

WordPress Trac noreply at wordpress.org
Wed Jan 31 13:18:40 UTC 2024


#60400: CHECKCONS Issue
--------------------------+-----------------------------
 Reporter:  welaunchio    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Upload        |    Version:  6.4.2
 Severity:  critical      |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 We provide over 20 Plugins for WordPress and since the last update all our
 clients have problems uploading our plugins because of the new CHECKCONS
 in ZIP archive:
 https://github.com/WordPress/WordPress/commit/a9b81d35279387e6940f2bea692973d2b70abe07

 This fails for ALL plugin ZIPs created with a local MAC.

 Can you please remove this CHECKCONS as it breaks zips created with MAC
 OS.

 Error triggerd in classs-file-upload-upgrader.php line 79

 Before:
 $archive_is_valid = $archive->open( $file['file'], ZIPARCHIVE::CHECKCONS
 );

 After:
 $archive_is_valid = $archive->open( $file['file'] );

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


More information about the wp-trac mailing list