mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
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:
parent
61292620c5
commit
6c9853930a
@ -1022,7 +1022,7 @@ function request_filesystem_credentials($form_post, $type = '', $error = false,
|
|||||||
$public_key = isset( $credentials['public_key'] ) ? $credentials['public_key'] : '';
|
$public_key = isset( $credentials['public_key'] ) ? $credentials['public_key'] : '';
|
||||||
$private_key = isset( $credentials['private_key'] ) ? $credentials['private_key'] : '';
|
$private_key = isset( $credentials['private_key'] ) ? $credentials['private_key'] : '';
|
||||||
$port = isset( $credentials['port'] ) ? $credentials['port'] : '';
|
$port = isset( $credentials['port'] ) ? $credentials['port'] : '';
|
||||||
$connection_type = isset( $credentials[''] ) ? $credentials[''] : '';
|
$connection_type = isset( $credentials['connection_type'] ) ? $credentials['connection_type'] : '';
|
||||||
|
|
||||||
if ( $error ) {
|
if ( $error ) {
|
||||||
$error_string = __('<strong>ERROR:</strong> There was an error connecting to the server, Please verify the settings are correct.');
|
$error_string = __('<strong>ERROR:</strong> There was an error connecting to the server, Please verify the settings are correct.');
|
||||||
|
Loading…
Reference in New Issue
Block a user