[wp-hackers] ZIP file archive API

Casey Broich pagex1 at gmail.com
Mon Dec 13 13:05:09 UTC 2010


I'll dig into it. 

Big Thanks for pointing me in the right direction!




On Dec 13, 2010, at 3:09 AM, Andrew Nacin <wp at andrewnacin.com> wrote:

> On Mon, Dec 13, 2010 at 4:16 AM, Casey Broich <pagex1 at gmail.com> wrote:
> 
>> That's what I was thinking.
>> 
>> I know I can poke around in the code... but would you happen to know
>> anymore
>> about how wordpress handles the automatic updates, what classes it uses,
>> function names, program flow, or example usage perhaps?
> 
> 
> You'll want to look at WP_Filesystem. You'll find much of what you need in
> wp-admin/includes/file.php, including the WP_Filesystem function,
> request_filesystem_credentials(), unzip_file(), and download_url().
> 
> You'll also want to look at the WP_Upgrader class (and friends) and the
> various WP_Filesystem_* classes. These can be found in wp-admin/includes.
> 
> Nacin
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list