diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php index c38a6a40f1..286d76ff59 100644 --- a/src/wp-admin/includes/file.php +++ b/src/wp-admin/includes/file.php @@ -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 = __('ERROR: There was an error connecting to the server, Please verify the settings are correct.');