From 53d0af84b056512c5caf9b8ecb3bf44fa69d9082 Mon Sep 17 00:00:00 2001 From: nacin Date: Sat, 1 Jan 2011 22:14:42 +0000 Subject: [PATCH] Don't esc_html the default error string. props SergeyBiryukov, fixes #16058. git-svn-id: http://svn.automattic.com/wordpress/trunk@17200 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/file.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index f5adeb0c3..20d136161 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 = esc_html( $error->get_error_message() ); + echo '

' . $error_string . '

'; } $types = array();