Clarify the connection information requested in request_filesystem_credentials() to reduce confusion surrounding FTP information versus your WordPress login. see #13467, props jane.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-06-01 20:35:59 +00:00
parent bf354522bd
commit 09c448f63e
1 changed files with 10 additions and 2 deletions

View File

@ -964,8 +964,16 @@ jQuery(function($){
<div class="wrap">
<?php screen_icon(); ?>
<h2><?php _e('Connection Information') ?></h2>
<p><?php _e('To perform the requested action, connection information is required.') ?></p>
<p><?php
_e('To perform the requested action, WordPress needs to access to your web server.');
if ( ( isset( $types['ftp'] ) || isset( $types['ftps'] ) ) ) {
if ( isset( $types['ssh'] ) )
_e('Please enter your FTP or SSH credentials to proceed.');
else
_e('Please enter your FTP credentials to proceed.');
}
_e('If you do not remember your credentials, you should contact your web host.');
?></p>
<table class="form-table">
<tr valign="top">
<th scope="row"><label for="hostname"><?php _e('Hostname') ?></label></th>