Skip to content

Instantly share code, notes, and snippets.

@itsHall
Last active November 24, 2020 16:44
Show Gist options
  • Save itsHall/8d482d408dec6d40985de57ccace3dd5 to your computer and use it in GitHub Desktop.
Save itsHall/8d482d408dec6d40985de57ccace3dd5 to your computer and use it in GitHub Desktop.
XML Tag to Allow SVG Upload | WordPress
// SVG files must include below line before the opening <svg> tag to pass validation when uploading to the WordPress Media Gallery.
<?xml version="1.0" encoding="utf-8"?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment