This code snippet for wordpress allows the importing of .svg files which by default are restricted on security grounds.. would only use if you know you are using sanitized .svg files and/or a single admin user of your website.

function cc_mime_types($mimes) {
 $mimes['svg'] = 'image/svg+xml';
 return $mimes;
}
add_filter('upload_mimes', 'cc_mime_types');

should be added to the bottom of theme functions.php file.