Filesystem API: Correct punctuation in request_filesystem_credentials()
error message.
Props mayankmajeji, kharisblank. Fixes #49724. git-svn-id: https://develop.svn.wordpress.org/trunk@47530 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2b52250f1a
commit
936b65887c
@ -2094,7 +2094,7 @@ function request_filesystem_credentials( $form_post, $type = '', $error = false,
|
||||
$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.' );
|
||||
$error_string = __( '<strong>Error</strong>: There was an error connecting to the server. Please verify the settings are correct.' );
|
||||
if ( is_wp_error( $error ) ) {
|
||||
$error_string = esc_html( $error->get_error_message() );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user