[wp-trac] [WordPress Trac] #37719: Pre/Post Unzip Hooks
WordPress Trac
noreply at wordpress.org
Mon Jun 26 20:20:01 UTC 2023
#37719: Pre/Post Unzip Hooks
-----------------------------------+---------------------
Reporter: dfavor | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: 6.3
Component: Filesystem API | Version: 3.0
Severity: normal | Resolution:
Keywords: 2nd-opinion has-patch | Focuses:
-----------------------------------+---------------------
Comment (by azaozz):
Replying to [comment:5 costdev]:
Thinking [https://github.com/WordPress/wordpress-develop/pull/4220 4220]
makes more sense. Merging of `_unzip_file_ziparchive()` and
`_unzip_file_pclzip()` can be done in another ticket if needed.
> It should be noted that passing `$needed_dirs` in the actions means
removing `unset( $needed_dirs )`.
Probably missing something but why not unset `$needed_dirs` after
`do_action( 'post_unzip_file', ...`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37719#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list