From 7770a90d74822bde7c17c9e9a208cbb5ee4e7468 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Sun, 24 Aug 2014 16:04:01 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.');