[wp-trac] Re: [WordPress Trac] #5586: Auto installer for themes and
plugins
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 12 06:59:44 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: blocker | Resolution:
Keywords: installer theme plugin |
------------------------------------+---------------------------------------
Comment (by DD32):
> attachment 5586.10.diff added.[[BR]]
> Allow FTP details to be hard-coded
Attachment allows for things such as this in wp-config.php:
{{{
define('FTP_HOST', 'localhost');
define('FTP_USER', 'dd32');
define('FTP_PASS', 'dfsdf');
define('FTP_SSL', false);
}}}
You can define as many, or as few as wanted.
* If a field has been define'd, then the input field on the dialogue will
be disabled, and the hard-coded value displayed.
* Upon an error connecting, The dialogue will be shown, However, All
defined fields will remain disabled.
* The password field never has a value filled in, even upon an error
connecting, or a defined password, So as to not leak the password via the
web interface (and potentially end up stored in a cache somewhere)
* In the case of the FTP Password being define'd & an error occurs
causing the dialogue to be shown, The field remains disabled and will be
empty(even though the password is defined), and a note is shown beside the
field: {{{_e('<em>(Password not shown)</em>');}}}
* If ALL details are define'd, and an error occurs while connecting, The
user will be directed to the ftp credentials dialogue with all fields
disabled, but may attempt connecting again via the Proceed button, If the
details are wrong, then the defines will need to be corrected, under no
circumstances can the web form override the defines.
--
Ticket URL: <http://trac.wordpress.org/ticket/5586#comment:63>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list