WordPress™ allow svg uploads
You can use the following piece of code to allow SVG uploads on WordPress™ especially if you do development on local host using a solution like Studio: Copy and paste the code above in your theme functions.php file. The other options for you would be to install a dedicated plugin like: