[wp-trac] Re: [WordPress Trac] #5586: Auto installer for themes and plugins

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 19 23:10:25 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 DD32):

 Just had a play around with it.

 I dont have FTP access to my dev box, only local FS, So i've updated the
 fs-direct class, and fixed a few bugs the updater was coming up with.

 It was also deleteing *all* plugins from the plugins folder.

 ie, updating /plugins/sitemap.php would delete all files in plugins/ and
 install the new version into google-sitemap-plugin/sitemap.php (as
 expected).

 It looks like the FTP extension uses relative paths, While the direct uses
 absolute paths(which is needed AFAIK), So i've added another check to the
 delete plugin dir. line.

 Attaching patch shortly.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5586#comment:21>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list