Ticket #16058: 16058.2.patch
File 16058.2.patch, 708 bytes (added by , 14 years ago) |
---|
-
wp-admin/includes/file.php
970 970 if ( $error ) { 971 971 $error_string = __('<strong>Error:</strong> There was an error connecting to the server, Please verify the settings are correct.'); 972 972 if ( is_wp_error($error) ) 973 $error_string = $error->get_error_message();974 echo '<div id="message" class="error"><p>' . esc_html( $error_string ). '</p></div>';973 $error_string = esc_html( $error->get_error_message() ); 974 echo '<div id="message" class="error"><p>' . $error_string . '</p></div>'; 975 975 } 976 976 977 977 $types = array();