allow svg uploads

Place this in your functions.php file. Without this, SVG files will be rejected when attempting to upload them through the media uploader.

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