[wp-trac] Re: [WordPress Trac] #5586: Auto installer for themes and
plugins
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 28 15:38:17 GMT 2008
#5586: Auto installer for themes and plugins
------------------------------------+---------------------------------------
Reporter: lawrencejob | Owner: ryan
Type: enhancement | Status: new
Priority: normal | Milestone: 2.5
Component: Administration | Version: 2.3.1
Severity: normal | Resolution:
Keywords: installer theme plugin |
------------------------------------+---------------------------------------
Comment (by ryan):
Patch makes use of DD32's filesystem classes. To test, bump the version
of your copy of akismet down a ver and delete update_plugins from the
options table. This will force an update of the plugin update info. In
the "new version is available" notice on the plugins page there is an
"upgrade automatically" link. If your web server is setup with suPHP, the
upgrade doesn't need any additional info. If that's not available, FTP is
used. To upgrade via FTP, you need to define FTP_HOST, FTP_USER, and
FTP_PASSWORD in your wp-config.php. I'm still debugging the ftpext and
ftpsockets classes. ftpext is working well enough with the FTP server
that comes with Mac OS X Leopard.
This is still very rough. Lot's of error checking and feedback as well as
friendlier FTP configuration need to be added. Downloading the new plugin
zip, extracting it, and copying it into place are all done in the same
page load. This may need to be broken up so that slow updates don't
timeout. Updates against my local testbed were very fast, however.
--
Ticket URL: <http://trac.wordpress.org/ticket/5586#comment:16>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list