Add missing array keys for connection type in request_filesystem_credentials().
see [28456]. fixes #29347. Built from https://develop.svn.wordpress.org/trunk@29580 git-svn-id: http://core.svn.wordpress.org/trunk@29354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user