Some escaping

git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@16367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-11-14 17:33:34 +00:00
parent 25721ac110
commit 72c7c211f1
1 changed files with 1 additions and 1 deletions

View File

@ -937,7 +937,7 @@ function request_filesystem_credentials($form_post, $type = '', $error = false,
$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 = $error->get_error_message();
echo '<div id="message" class="error"><p>' . $error_string . '</p></div>';
echo '<div id="message" class="error"><p>' . esc_html( $error_string ) . '</p></div>';
}
$types = array();