diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index f5adeb0c3d..20d1361618 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -970,8 +970,8 @@ function request_filesystem_credentials($form_post, $type = '', $error = false, if ( $error ) { $error_string = __('Error: There was an error connecting to the server, Please verify the settings are correct.'); if ( is_wp_error($error) ) - $error_string = $error->get_error_message(); - echo '
' . esc_html( $error_string ) . '
' . $error_string . '