Add missing array keys for connection type in `request_filesystem_credentials()`.
see [28456]. fixes #29347. git-svn-id: https://develop.svn.wordpress.org/trunk@29580 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
46457ead23
commit
7770a90d74
|
@ -1022,7 +1022,7 @@ function request_filesystem_credentials($form_post, $type = '', $error = false,
|
|||
$public_key = isset( $credentials['public_key'] ) ? $credentials['public_key'] : '';
|
||||
$private_key = isset( $credentials['private_key'] ) ? $credentials['private_key'] : '';
|
||||
$port = isset( $credentials['port'] ) ? $credentials['port'] : '';
|
||||
$connection_type = isset( $credentials[''] ) ? $credentials[''] : '';
|
||||
$connection_type = isset( $credentials['connection_type'] ) ? $credentials['connection_type'] : '';
|
||||
|
||||
if ( $error ) {
|
||||
$error_string = __('<strong>ERROR:</strong> There was an error connecting to the server, Please verify the settings are correct.');
|
||||
|
|
Loading…
Reference in New Issue