Opened 16 years ago
Closed 16 years ago
#10037 closed defect (bug) (worksforme)
FTP Credentials not stored
Reported by: | Tuxman | Owned by: | dd32 |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.7.1 |
Component: | Upgrade/Install | Keywords: | |
Focuses: | Cc: |
Description
In earlier versions of WordPress the FTP Credentials were stored automatically. Since I upgraded my blogs to 2.7 (and 2.7.1), I'll have to re-enter them every time I try to install or update a plug-in. Obviously there's something going wrong.
Change History (8)
#3
@
16 years ago
They were (are?) stored in the DB at least.
AFAIK they were also applied automatically, but I don't know why (I only had 1 blog that time, maybe it was a plug-in?) ... however it should be possible to reuse them. Let's say with a checkbox "enable automatic updating" or sth...
#4
@
16 years ago
The ftp info is stored in option "ftp_credentials' but not saved in the case of an error.
#6
@
16 years ago
- Milestone changed from 2.9 to 2.8
- Status changed from new to accepted
Thats correct, The hostname(which includes any custom port), username, and selected method (FTP/FTPS/SSH) are stored in the ftp_credentials DB option.
The public/Private keys are not stored, nor is the password. I'm honestly not sure why the public/private keys were not stored.. but there's the defines for those anyway.
I'll investigate later.
#8
@
16 years ago
- Milestone 2.8 deleted
- Resolution set to worksforme
- Status changed from accepted to closed
Its working as expected under current 2.8 (trunk) which will be released in under a week. therefor, closing as worksforme.
If you're still having trouble, you can attempt deleting the credentials and see if that helps, just add:
<?php delete_option('ftp_credentials'); ?>
Into a theme file temporarily and see if that helps (Note: You'll have to remove that line after visiting the page its on)
that's a better behavior from a security standpoint, but if it's a different behavior from previous versions, it's not good.