Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Darin Kotter

    (@dkotter)

    Thanks so much for the detailed report, made my life much easier in trying to reproduce!

    I can see the same issue and have discovered the problem. When optimization is turned on, we load an extra javascript file in the admin. One thing this file does is on save, checks to see if any svgs were added to the content and optimizes those if needed.

    The problem here is if an item is saved with no content changes, this code ends up producing an error which then breaks any other javascript related functionality on the page.

    I’m going to open an issue on our GitHub to track this. I’d expect we’ll have a fix for this in the next release. If you have a GitHub username, I’d love to give you props once that is fixed. Thanks!

    Thread Starter David Adams

    (@tictag)

    Never had GitHub props before! 1st time for everything. GitHub username is tictag. Glad I could help.

    David.

    Plugin Support Darin Kotter

    (@dkotter)

    For reference, GitHub issue is opened here now: https://github.com/10up/safe-svg/issues/170

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pages Fails To Update When Optimizer Enabled’ is closed to new replies.