[wp-trac] [WordPress Trac] #37719: Pre/Post Unzip Hooks

WordPress Trac noreply at wordpress.org
Sun Aug 20 16:22:55 UTC 2023


#37719: Pre/Post Unzip Hooks
-----------------------------------+---------------------
 Reporter:  dfavor                 |       Owner:  (none)
     Type:  feature request        |      Status:  new
 Priority:  normal                 |   Milestone:  6.4
Component:  Filesystem API         |     Version:  3.0
 Severity:  normal                 |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:
-----------------------------------+---------------------

Comment (by oglekler):

 @costdev can we proceed with this patch? I think that if we need just
 hooks, there is no need to make drastic changes. I suppose merging two
 function in one is unnecessary trouble, but there is a part which can be
 moved to another function for internal easily use and be called from both
 functions. But this can be done in another ticket.
 I also wonder if `post_unzip_file` can be called `after_unzip_file`
 because otherwise it looks confusing.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/37719#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list