mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
This introduces the following new filters which wrap the process of unzipping an archive: - `pre_unzip_file` - Filters archive unzipping to allow an override with a custom process. - `unzip_file` - Filters the result of unzipping an archive. Both filters pass the following: - `string $file` - Full path and filename of ZIP archive. - `string $to` - Full path on the filesystem to extract archive to. - `string[] $needed_dirs` - A full list of required folders that need to be created. - `float|false $required_space` - The space required to unzip the file and copy its contents, with a 10% buffer. Props dfavor, azaozz, oglekler, afragen, costdev. Fixes #37719. git-svn-id: https://develop.svn.wordpress.org/trunk@56689 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| e2e | ||
| gutenberg | ||
| performance | ||
| phpunit | ||
| qunit | ||
| visual-regression | ||