[wp-trac] Re: [WordPress Trac] #5586: Auto installer for themes and
plugins
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 12 03:45:04 GMT 2008
#5586: Auto installer for themes and plugins
------------------------------------+---------------------------------------
Reporter: lawrencejob | Owner: ryan
Type: enhancement | Status: new
Priority: normal | Milestone: 2.7
Component: Administration | Version: 2.3.1
Severity: normal | Resolution:
Keywords: installer theme plugin |
------------------------------------+---------------------------------------
Comment (by DD32):
Replying to [comment:10 darkdragon]:
> Replying to [comment:9 DD32]:
> > Replying to [comment:7 darkdragon]:
> > > You mean like #4779
> >
> > That would be nice for fetching of the themes and data, Infact, most
of my plugins would love that to be included in core :)
>
> Wow! That is something coming from you.
>
> I would too, since well, I spent a long time writing it and everything.
However, it does not have any support for FTP, which from what ryan has
stated is a requirement that would need to be met.
I mainly meant that for fetching external documents, Currently i've been
using snoopy(but that doesnt work everywhere), WP tends to use
fsockopen(but that doesnt work anywhere).
IMO, your classes would be great replacement for all that.
The classes refered to by ryan was for Filesystem access, Its a wrapper
for various FTP methods/Direct filesystem methods, Its not designed to
fetch remote documents, rather to modify the files on the local
filesystem, Due to the number of different server setups, its never good
to assume that you can just write to/from the public dir, That might lead
to files being owned by different users(the Daemon process), different
permissions, or permission denied errors. Those classes are designed to
wrap around all that, and use Direct if possible, PHP 5's ftp function if
available, Else a socket FTP access method.
Personally i think my WpFS code with a fair bit of cleanup, and your HTTP
access code would greatly simplify whats needed for this ticket.
--
Ticket URL: <http://trac.wordpress.org/ticket/5586#comment:11>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list