[wp-trac] [WordPress Trac] #9980: FTP Extension SSL issues +
refactor/cleanup of UI logic
WordPress Trac
wp-trac at lists.automattic.com
Sat May 30 05:38:37 GMT 2009
#9980: FTP Extension SSL issues + refactor/cleanup of UI logic
--------------------------+-------------------------------------------------
Reporter: dd32 | Owner: dd32
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: Filesystem | Version: 2.8
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
As discussed last night on #wordpress-dev, There exists cases where people
are getting invalid username/password when using the FTP Extension (Whilst
the credentials are correct).
{{{__lance__}}} tracked it down to SSL being selected, when the UI wasnt
showing it as such.. It seems it was coming from {{{$opt['ssl']}}}, which
AFAIK, Isnt actually set by WordPress at all (It could've been left over
from an early revision..)
The attached patch cleans up some of the UI Logic as well, and takes into
consideration FS_METHOD being set, which forces it in some cases.
Also, Includes an uncommited change, a class_exists() around the FS
Abstraction file, To check if the class exists already before including a
abstraction file, Its mainly for use when a plugin adds a 3rd-party FS
Method file (Like my debug trace plugin does, No-wonder it never worked
for anyone else)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9980>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list