Got notices from our Yandex SEO account about the favicons using SVG without the appropriate type attr.
If you guys don’t want to make the change I can understand, but if that is the case can you point me at a filter so I can tweak it or unhook/replace it?
Ok, I see. The customizer settings are WordPress’ own functions that we don’t change. Apart from that, WordPress does not seem to provide for the use of SVGs - I fail at the cropping process at the latest.
However, you can also leave the customizer out completely and use a function:
I encountered this issue today. When attempting to use SVG as a site icon WordPress tries to crop but fails with, “There has been an error cropping your image.”
In this example 123 is the ID for the file. You can find the ID by clicking the image in the Media Library and hovering over the “Edit more details” link. Look for the post= value in the URL.