Support » Plugin: SVG Support » WP 4.9.9 upload problem

  • Resolved matellman


    I have problem with uploading svg files after wordpress 4.9.8 -> 4.9.9 update. It just stop working as if the plugin is not enabled.

    Tested on different servers, sites. Is not working only on wp 4.9.9.

    • This topic was modified 1 year, 10 months ago by matellman.
Viewing 11 replies - 1 through 11 (of 11 total)
  • 5.0.1 – same problem

    This could be a MIME type validation issue introduced by WP 5.0.1:

    5.0.1 – Same here.

    Plugin Author Benbodhi


    Hi everyone, sorry about this!
    This wasn’t an issue when testing in 5.0-alpha-42993.

    I will be working on it as soon as possible.

    Plugin Author Benbodhi


    Strangely, it seems to work fine for me still on all versions up to 5.1-alpha-44207.
    Will keep digging, I need to try and reproduce the issue to debug it.
    If anyone with the issue is a developer, I would truly appreciate if you could take a quick look and see if you can shed any light on it.
    It seems to be affecting a least a small group of people.

    Plugin Author Benbodhi


    Ok, yeah, this post explains the issue with new mime type checks.

    So when uploading an SVG, it has to have the <xml> tag in it for example, the first line might look like this:
    <?xml version="1.0" encoding="utf-8"?>

    You could possibly get away with simply adding this line to the first line of your SVG when opened in a plain text/code editor such as sublime text before uploading to your site.

    Plugin Author Benbodhi


    I’m not too sure if I can do something in my plugin to avoid this issue, but I’m looking into it.

    Unfortunately I’m the sole dev on this and I’m gong in for surgery this week… but I will do my best to work on this and try to develop a solution to avoid this issue where possible.

    But it looks like, worst case, we have to include the <?xml version="1.0" encoding="utf-8"?> line in our SVG before uploading and we’re good to go 🙂

    Well thanks for adding to my blog problems! Updated as requested and now ….Bendpdhi, Sorry about your op and I do hope it went really well. However my blog isn’t working at all with your ‘new’ update. Help!
    In case you really are reading this:
    Not sure what to do next though.
    Susanne72 sf7272(at)

    Plugin Author Benbodhi


    Hi @susanne72,

    Thanks for your well wishes!

    The update on my plugin wasn’t in any of the code at all, it was just the readme file that holds the description in the plugin repository.

    So your issues are not related to the update of my plugin, since it wasn’t actually updated.

    However, I’d be willing to take a look for you.
    Please start your own thread though so we can address your issue without notifying everybody else on this resolved thread.

    Hi Benbodhi. Thanks for answering so quickly. I’m not sure what you mean by ‘starting your own thread’? Susanne72

    Plugin Author Benbodhi



    I mean, you should start your own support topic in this forum to get specific help for your situation. It’s mentioned in the forum welcome and guidelines.

    Basically, everyone on this thread has the option of having email replies so it may annoy them when they get irrelevant notifications since this is resolved now.

    Please create a new topic by scrolling to the bottom of this page: and providing as much detail as possible about your problem. So far I have looked at your site and can’t see an issue. You will need to provide all of the details so I am able to see your issue and potentially troubleshoot it for you.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘WP 4.9.9 upload problem’ is closed to new replies.