[wp-hackers] Plugin Management and Autoupdate System

Ryan Boren ryan at boren.nu
Mon Jul 31 01:33:33 GMT 2006


Computer Guru wrote:
>> do_action('upgrade_' . trim( $_GET['plugin'] ));
> 
> That would work :)
> 
>> The download link could be a zip file which just gets unzipped.
> 
> I guess that would work.. That would require either exec() support or php
> compiled with zip...
> It can unlink() recursively the plugin directory.
> We must make it clear though that _any_ plugin with more than one file (even
> a readme) should have it's own DIR no matter what - then we can unlink and
> be sure we're doing the right thing.

The Installer plugin uses the dUnzip2 lib which uses the zlib extension. 
   Anything that uses exec() is unlikely to go in core.

Ryan


More information about the wp-hackers mailing list