[wp-trac] [WordPress Trac] #60398: WordPress 6.4.3 MacOS Compressed Zip plugin archives "Incompatible Archive" on upload
WordPress Trac
noreply at wordpress.org
Wed Jan 31 19:12:32 UTC 2024
#60398: WordPress 6.4.3 MacOS Compressed Zip plugin archives "Incompatible Archive"
on upload
--------------------------+---------------------
Reporter: Endymion00 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.4.4
Component: Upload | Version: 6.4.3
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+---------------------
Comment (by welaunchio):
Replying to [comment:10 jorbin]:
> Lowering the severity since there is currently a workaround on both the
zip creation side ( use the command line) and the individual site side (
`add_filter( 'unzip_file_use_ziparchive', '_return_false' );` ).
That als causes a PHP Fatal error: Uncaught TypeError:
call_user_func_array(): Argument #1 ($callback) must be a valid callback,
function "_return_false" not found or invalid function name in ..
Correct is: `add_filter( 'unzip_file_use_ziparchive', '__return_false' );`
Two underscores.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60398#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list