From 72c7c211f1cd3180177c31c5075024c8ee91b5d7 Mon Sep 17 00:00:00 2001 From: nacin Date: Sun, 14 Nov 2010 17:33:34 +0000 Subject: [PATCH] Some escaping git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@16367 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index 6994a35faa..d79f2e3437 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -937,7 +937,7 @@ function request_filesystem_credentials($form_post, $type = '', $error = false, $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 '

' . $error_string . '

'; + echo '

' . esc_html( $error_string ) . '

'; } $types = array();