Some escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@16366 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
32b416f959
commit
11f1c67f78
@ -966,7 +966,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();
|
||||
|
Loading…
Reference in New Issue
Block a user